summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-08-26 16:52:45 +0200
committerSander Vrijders <[email protected]>2016-08-26 16:52:45 +0200
commitda0739d8dea1235a047095c08cfe67871c3c216e (patch)
treed3a68ba74bd6cc5dc366649d6e29b15d697fc348 /src/ipcpd
parent84f0f1a64fa2beb00abf30d00072d4f818cf9bd4 (diff)
parent7fd43a33c5964fcf0f8de2efc9dbf27f8db25fc4 (diff)
downloadouroboros-da0739d8dea1235a047095c08cfe67871c3c216e.tar.gz
ouroboros-da0739d8dea1235a047095c08cfe67871c3c216e.zip
Merged in dstaesse/ouroboros/be-bugfixing (pull request #227)
Be bugfixing
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/local/main.c4
-rw-r--r--src/ipcpd/normal/main.c4
-rw-r--r--src/ipcpd/shim-eth-llc/main.c4
-rw-r--r--src/ipcpd/shim-udp/main.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c
index 6993cea2..547e7e28 100644
--- a/src/ipcpd/local/main.c
+++ b/src/ipcpd/local/main.c
@@ -228,8 +228,8 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c)
case SIGHUP:
case SIGQUIT:
if (info->si_pid == irmd_api) {
- LOG_DBG("Terminating by order of %d. Bye.",
- info->si_pid);
+ LOG_DBG("IPCP %d terminating by order of %d. Bye.",
+ getpid(), info->si_pid);
pthread_rwlock_wrlock(&_ipcp->state_lock);
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index f0fc0681..335330ae 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -72,8 +72,8 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c)
case SIGTERM:
case SIGHUP:
if (info->si_pid == irmd_api) {
- LOG_DBG("Terminating by order of %d. Bye.",
- info->si_pid);
+ LOG_DBG("IPCP %d terminating by order of %d. Bye.",
+ getpid(), info->si_pid);
pthread_rwlock_wrlock(&_ipcp->state_lock);
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index 60b55009..608b0029 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -830,8 +830,8 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c)
case SIGTERM:
case SIGHUP:
if (info->si_pid == irmd_api) {
- LOG_DBG("Terminating by order of %d. Bye.",
- info->si_pid);
+ LOG_DBG("IPCP %d terminating by order of %d. Bye.",
+ getpid(), info->si_pid);
pthread_rwlock_wrlock(&_ipcp->state_lock);
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index 292d347d..3f9b20f1 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -793,8 +793,8 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c)
case SIGTERM:
case SIGHUP:
if (info->si_pid == irmd_api) {
- LOG_DBG("Terminating by order of %d. Bye.",
- info->si_pid);
+ LOG_DBG("IPCP %d terminating by order of %d. Bye.",
+ getpid(), info->si_pid);
pthread_rwlock_wrlock(&_ipcp->state_lock);