diff options
author | Sander Vrijders <[email protected]> | 2017-03-22 15:21:44 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-22 15:21:44 +0100 |
commit | 4057695fe65dd0b8c8604c75d5f60d265f0dbf9a (patch) | |
tree | 820c4dd380bf80bf4c209f57e45b03678e4cbf4d /src | |
parent | d9b113acbecb3f78e3ace561365a5f0add949787 (diff) | |
download | ouroboros-4057695fe65dd0b8c8604c75d5f60d265f0dbf9a.tar.gz ouroboros-4057695fe65dd0b8c8604c75d5f60d265f0dbf9a.zip |
ipcpd: normal: Initialize qosspec
The QoS spec was not being initialized before being added to the graph
structure, resulting in an error when compiled with clang.
Diffstat (limited to 'src')
-rw-r--r-- | src/ipcpd/normal/routing.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/routing.c b/src/ipcpd/normal/routing.c index 211becb4..70999951 100644 --- a/src/ipcpd/normal/routing.c +++ b/src/ipcpd/normal/routing.c @@ -161,6 +161,8 @@ static int read_fso(char * path, fso_t * fso; qosspec_t qs; + memset(&qs, 0, sizeof(qs)); + len = rib_read(path, ro, BUF_SIZE); if (len < 0) { log_err("Failed to read FSO."); |