projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162abcd
)
Fix assertion to only check for TCP sockets
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 8 Oct 2014 19:00:12 +0000
(15:00 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 8 Oct 2014 19:00:30 +0000
(15:00 -0400)
src/main/process.c
patch
|
blob
|
history
diff --git
a/src/main/process.c
b/src/main/process.c
index
16283d2
..
b4cf791
100644
(file)
--- a/
src/main/process.c
+++ b/
src/main/process.c
@@
-4359,7
+4359,7
@@
static int event_new_fd(rad_listen_t *this)
*/
case RAD_LISTEN_PROXY:
#ifdef WITH_TCP
- rad_assert(
sock->home != NULL
);
+ rad_assert(
(sock->proto == IPPROTO_UDP) || (sock->home != NULL)
);
/*
* Add timers to outgoing child sockets, if necessary.