diff options
author | Sander Vrijders <[email protected]> | 2017-03-22 15:10:37 +0000 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-03-22 15:10:37 +0000 |
commit | 79090eb2fc0fe4f6582aca556c05435dace60046 (patch) | |
tree | 83ca1ff3efcb887e8986e73ea16a06bf9cad3ec7 /src/ipcpd/normal/routing.c | |
parent | d9b113acbecb3f78e3ace561365a5f0add949787 (diff) | |
parent | f8d633d70f79d75935787c524ab0120159556fa3 (diff) | |
download | ouroboros-79090eb2fc0fe4f6582aca556c05435dace60046.tar.gz ouroboros-79090eb2fc0fe4f6582aca556c05435dace60046.zip |
Merged in sandervrijders/ouroboros/be-routing-fix (pull request #412)
ipcpd: normal: Initialize qosspec
Diffstat (limited to 'src/ipcpd/normal/routing.c')
-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."); |