diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-01-04 12:09:06 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-01-04 12:09:06 +0100 |
commit | f6d0988717c372a245c6d2769a53e678b02149d7 (patch) | |
tree | 2be49eb06712b83ea9374fa6916c35750f00d1ef /src/ipcpd/normal | |
parent | aabdfa67919ccca9238463bc7785dce4c1a99894 (diff) | |
download | ouroboros-f6d0988717c372a245c6d2769a53e678b02149d7.tar.gz ouroboros-f6d0988717c372a245c6d2769a53e678b02149d7.zip |
ipcpd: Fix bug in fmgr
Diffstat (limited to 'src/ipcpd/normal')
-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 fc1342a9..9a72eda2 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; } |