diff options
Diffstat (limited to 'src/ipcpd/shim-udp/main.c')
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 3296540e..4da27655 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -528,7 +528,8 @@ static void * ipcp_udp_sdu_loop(void * o) rw_lock_unlock(&_ap_instance->data_lock); - send(fd, buf, len, 0); + if (send(fd, buf, len, 0) < 0) + LOG_ERR("Failed to send SDU."); rw_lock_rdlock(&_ap_instance->data_lock); |