summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-08-10 13:03:33 +0200
committerdimitri staessens <[email protected]>2016-08-10 13:03:33 +0200
commit9740c4bf2966d57d6f7e0d034a862211cb3814c4 (patch)
tree9b33b5d1888cd4fb338b57b7b1aa90349668eb8b /src/ipcpd/shim-eth-llc
parentaca897331ff55c80d926b0bdb90f1c8962bf7a6e (diff)
parente5cb8042c9f0c6374c4f14bf7ff3f4fe3cdcd155 (diff)
downloadouroboros-9740c4bf2966d57d6f7e0d034a862211cb3814c4.tar.gz
ouroboros-9740c4bf2966d57d6f7e0d034a862211cb3814c4.zip
Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-bugfixing
Diffstat (limited to 'src/ipcpd/shim-eth-llc')
-rw-r--r--src/ipcpd/shim-eth-llc/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index 7471e319..b8689ac7 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -1379,6 +1379,12 @@ int main(int argc, char * argv[])
pthread_rwlock_unlock(&_ipcp->state_lock);
+ if (ipcp_create_r(getpid())) {
+ LOG_ERR("Failed to notify IRMd we are initialized.");
+ close_logfile();
+ exit(EXIT_FAILURE);
+ }
+
pthread_join(shim_data(_ipcp)->mainloop, NULL);
eth_llc_ipcp_data_destroy();