projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More patches to build without certain features
[freeradius.git]
/
src
/
main
/
listen.c
diff --git
a/src/main/listen.c
b/src/main/listen.c
index
b6e2b4d
..
1f40ead
100644
(file)
--- a/
src/main/listen.c
+++ b/
src/main/listen.c
@@
-884,6
+884,7
@@
static int common_socket_parse(CONF_SECTION *cs, rad_listen_t *this)
sock->my_ipaddr = ipaddr;
sock->my_port = listen_port;
sock->my_ipaddr = ipaddr;
sock->my_port = listen_port;
+#ifdef WITH_PROXY
if (check_config) {
if (home_server_find(&sock->my_ipaddr, sock->my_port, sock->proto)) {
char buffer[128];
if (check_config) {
if (home_server_find(&sock->my_ipaddr, sock->my_port, sock->proto)) {
char buffer[128];
@@
-896,6
+897,7
@@
static int common_socket_parse(CONF_SECTION *cs, rad_listen_t *this)
return 0; /* don't do anything */
}
return 0; /* don't do anything */
}
+#endif
/*
* If we can bind to interfaces, do so,
/*
* If we can bind to interfaces, do so,