summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-udp/main.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-06-04 19:27:30 +0200
committerdimitri staessens <[email protected]>2017-06-04 19:27:30 +0200
commit5b384409515fa7cef7d33d92585582e9fa028934 (patch)
treefb25c5ce6e3ca41e7dc208bc480aa4f8c8145fa3 /src/ipcpd/shim-udp/main.c
parentbd79660f37a6110d0e53f20cec7a3863c5eff78e (diff)
downloadouroboros-5b384409515fa7cef7d33d92585582e9fa028934.tar.gz
ouroboros-5b384409515fa7cef7d33d92585582e9fa028934.zip
ipcpd: Fix flow allocation over UDP shim
Diffstat (limited to 'src/ipcpd/shim-udp/main.c')
-rw-r--r--src/ipcpd/shim-udp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index 4ea0ad3d..273bd058 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -970,7 +970,7 @@ static int ipcp_udp_flow_alloc(int fd,
log_dbg("Flow pending on fd %d, UDP port %d.",
fd, ntohs(f_saddr.sin_port));
- return fd;
+ return 0;
}
static int ipcp_udp_flow_alloc_resp(int fd,