diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-04-26 14:42:05 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-04-26 14:42:05 +0200 |
commit | 6be9ae98877f23b05f69e6006036fec0f6c9d338 (patch) | |
tree | 4ff4fe417d021c67d9173b4add47c4f2b3403f30 /src/ipcpd/shim-udp/tests | |
parent | a5e2a4cb3ce7bb47ce6b0ad74f11f062bde40e1d (diff) | |
download | ouroboros-6be9ae98877f23b05f69e6006036fec0f6c9d338.tar.gz ouroboros-6be9ae98877f23b05f69e6006036fec0f6c9d338.zip |
lib: instance ID's are now set to the process PID
All instance-id's in ouroboros will be set by the system to the pid of
the process associated with this application process instance. This
means that the user has no way to choose the instance id's. Function
calls that assumed manually defined instance id's have been replaced
throughout the system.
Diffstat (limited to 'src/ipcpd/shim-udp/tests')
-rw-r--r-- | src/ipcpd/shim-udp/tests/shim_udp_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/shim-udp/tests/shim_udp_test.c b/src/ipcpd/shim-udp/tests/shim_udp_test.c index 0fcf9f4d..4e0c2dd6 100644 --- a/src/ipcpd/shim-udp/tests/shim_udp_test.c +++ b/src/ipcpd/shim-udp/tests/shim_udp_test.c @@ -39,7 +39,6 @@ int shim_udp_test(int argc, char ** argv) /* argument 3: instance id */ struct shm_du_map * dum; char * ipcp_name = "test-shim-ipcp"; - char * i_id = "1"; int i = 0; char bogus[15]; @@ -57,7 +56,7 @@ int shim_udp_test(int argc, char ** argv) exit(1); } - _ipcp = ipcp_udp_create(ipcp_name, i_id); + _ipcp = ipcp_udp_create(ipcp_name); if (_ipcp == NULL) { LOG_ERR("Could not instantiate shim IPCP."); shm_du_map_close(dum); |