static int command_write_magic(int newfd, listen_socket_t *sock);
#endif
+#ifdef WITH_TCP
+/*
+ * We want to avoid opening a UDP proxy listener
+ * when all of the home servers are TCP.
+ */
+extern bool home_servers_udp;
+#endif
+
static fr_protocol_t master_listen[RAD_LISTEN_MAX];
/*
}
#ifdef WITH_TCP
- /*
- * We want to avoid opening a UDP proxy listener
- * when all of the home servers are TCP.
- */
- extern bool home_servers_udp;
-
if (!home_servers_udp) defined_proxy = true;
#endif