diff options
author | Sander Vrijders <[email protected]> | 2017-01-04 13:02:43 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-01-04 13:02:43 +0100 |
commit | ab534a1bb9db49fe43a67fb022176cb22a2dda52 (patch) | |
tree | 9a3ff4ad17c14e6bf69d5a9ce993f3e18387ae19 /src/ipcpd/normal/fmgr.c | |
parent | a241f53af601a8b9462b600a20381228f0f8e2e0 (diff) | |
parent | f6d0988717c372a245c6d2769a53e678b02149d7 (diff) | |
download | ouroboros-ab534a1bb9db49fe43a67fb022176cb22a2dda52.tar.gz ouroboros-ab534a1bb9db49fe43a67fb022176cb22a2dda52.zip |
Merged in dstaesse/ouroboros/be-normal-refactor (pull request #333)
ipcpd: Fix uninitialized variables in ribmgr
Diffstat (limited to 'src/ipcpd/normal/fmgr.c')
-rw-r--r-- | src/ipcpd/normal/fmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/fmgr.c b/src/ipcpd/normal/fmgr.c index 64d9a5a9..b0a37ee1 100644 --- a/src/ipcpd/normal/fmgr.c +++ b/src/ipcpd/normal/fmgr.c @@ -229,7 +229,7 @@ int fmgr_init() for (i = 0; i < QOS_CUBE_MAX; ++i) { fmgr.np1_set[i] = flow_set_create(); - if (fmgr.np1_set == NULL) { + if (fmgr.np1_set[i] == NULL) { fmgr_destroy_flows(); return -1; } @@ -241,7 +241,7 @@ int fmgr_init() } fmgr.nm1_set[i] = flow_set_create(); - if (fmgr.nm1_set == NULL) { + if (fmgr.nm1_set[i] == NULL) { fmgr_destroy_flows(); return -1; } |