Fixes to build without TCP
[freeradius.git] / src / main / client.c
index 247ce1d..d378d4b 100644 (file)
@@ -491,11 +491,7 @@ RADCLIENT *client_find(const RADCLIENT_LIST *clients,
  */
 RADCLIENT *client_find_old(const fr_ipaddr_t *ipaddr)
 {
-       return client_find(root_clients, ipaddr
-#ifdef WITH_TCP
-                          , IPPROTO_UDP
-#endif
-                          );
+       return client_find(root_clients, ipaddr, IPPROTO_UDP);
 }
 
 static struct in_addr cl_ip4addr;