diff options
| author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-08 16:34:19 +0200 | 
|---|---|---|
| committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-08 16:34:19 +0200 | 
| commit | 5812dfb832e513dc455a0d48624bcad62334d457 (patch) | |
| tree | 93a02e1b20f54bb869eadc856f201412c633315c /src/ipcpd/shim-udp/tests | |
| parent | de8f2015cbd015b1cced366cb12c054be62c23b1 (diff) | |
| parent | 021af9e01ce6c6376534b33ef1a06ea4189028d4 (diff) | |
| download | ouroboros-5812dfb832e513dc455a0d48624bcad62334d457.tar.gz ouroboros-5812dfb832e513dc455a0d48624bcad62334d457.zip  | |
Merged in dstaesse/ouroboros/be-fast-path (pull request #65)
irmd: flow allocation and fast path
Diffstat (limited to 'src/ipcpd/shim-udp/tests')
| -rw-r--r-- | src/ipcpd/shim-udp/tests/shim_udp_test.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ipcpd/shim-udp/tests/shim_udp_test.c b/src/ipcpd/shim-udp/tests/shim_udp_test.c index 036f5877..e5e8b32d 100644 --- a/src/ipcpd/shim-udp/tests/shim_udp_test.c +++ b/src/ipcpd/shim-udp/tests/shim_udp_test.c @@ -59,7 +59,7 @@ int shim_udp_test(int argc, char ** argv)          _ipcp = ipcp_udp_create(ipcp_name);          if (_ipcp == NULL) {                  LOG_ERR("Could not instantiate shim IPCP."); -                shm_du_map_close(dum); +                shm_du_map_destroy(dum);                  exit(1);          } @@ -69,13 +69,13 @@ int shim_udp_test(int argc, char ** argv)          if (ipcp_udp_name_reg("bogus name")) {                  LOG_ERR("Failed to register application."); -                shm_du_map_close(dum); +                shm_du_map_destroy(dum);                  exit(1);          }          if (ipcp_udp_name_unreg("bogus name")) {                  LOG_ERR("Failed to unregister application."); -                shm_du_map_close(dum); +                shm_du_map_destroy(dum);                  exit(1);          } @@ -83,7 +83,7 @@ int shim_udp_test(int argc, char ** argv)                  sprintf(bogus, "bogus name %4d", i);                  if (ipcp_udp_name_reg(bogus)) {                           LOG_ERR("Failed to register application %s.", bogus); -                         shm_du_map_close(dum); +                         shm_du_map_destroy(dum);                           exit(1);                  }          } @@ -92,12 +92,12 @@ int shim_udp_test(int argc, char ** argv)                  sprintf(bogus, "bogus name %4d", i);                  if(ipcp_udp_name_unreg(bogus)) {                           LOG_ERR("Failed to unregister application %s.", bogus); -                         shm_du_map_close(dum); +                         shm_du_map_destroy(dum);                           exit(1);                  }          } -        shm_du_map_close(dum); +        shm_du_map_destroy(dum);          exit(0);  }  | 
