From d5d76d525c589b42ce5ca7d9569fd8bc822f36cb Mon Sep 17 00:00:00 2001 From: Tomas 'ZeXx86' Jedrzejek Date: Sun, 21 Jun 2009 16:19:25 +0200 Subject: [PATCH] Fixed return values in net_proto_udp_anycast () and net_proto_udp_port () --- kernel/core/net/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/core/net/udp.c b/kernel/core/net/udp.c index 5bcfdef..aa5662d 100644 --- a/kernel/core/net/udp.c +++ b/kernel/core/net/udp.c @@ -293,7 +293,7 @@ int net_proto_udp_anycast (int fd) conn->ip_source = INADDR_ANY; - return -1; + return 0; } /* set source port to specified one */ @@ -306,7 +306,7 @@ int net_proto_udp_port (int fd, net_port port) conn->port_source = port; - return -1; + return 0; } /** UDP protocol -- 2.11.4.GIT