summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-06-05 19:16:30 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-06-05 19:16:30 +0000
commit256179707219f6e3b6b6a86afa6cb11e674434eb (patch)
treeea0615572d69fb6169b20e1b452da6db34ec8421
parentf6fe1151ec5b7cefa7b273059fa254c796c97aec (diff)
parent5b384409515fa7cef7d33d92585582e9fa028934 (diff)
downloadouroboros-256179707219f6e3b6b6a86afa6cb11e674434eb.tar.gz
ouroboros-256179707219f6e3b6b6a86afa6cb11e674434eb.zip
Merged in dstaesse/ouroboros/be-udp-fix (pull request #515)
ipcpd: Fix flow allocation over UDP shim
-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,