projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8847b3b
)
Return on error
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 17 Feb 2013 20:11:31 +0000
(15:11 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Sun, 17 Feb 2013 20:11:31 +0000
(15:11 -0500)
src/lib/tcp.c
patch
|
blob
|
history
diff --git
a/src/lib/tcp.c
b/src/lib/tcp.c
index
c364e8f
..
88720b3
100644
(file)
--- a/
src/lib/tcp.c
+++ b/
src/lib/tcp.c
@@
-77,6
+77,7
@@
int fr_tcp_socket(fr_ipaddr_t *ipaddr, int port)
fr_strerror_printf("Failed in setsockopt(): %s",
strerror(errno));
close(sockfd);
+ return -1;
}
}
#endif /* IPV6_V6ONLY */