Move struct definition to the correct place
authorAlan T. DeKok <aland@freeradius.org>
Tue, 9 Mar 2010 09:15:49 +0000 (10:15 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 9 Mar 2010 09:15:49 +0000 (10:15 +0100)
src/include/radiusd.h
src/main/listen.c

index cd0c9b3..a105325 100644 (file)
@@ -345,9 +345,7 @@ typedef struct listen_socket_t {
        fr_ipaddr_t     my_ipaddr;
        int             my_port;
 
-#ifdef SO_BINDTODEVICE
-       const char              *interface;
-#endif
+       const char      *interface;
 #ifdef SO_BROADCAST
        int             broadcast;
 #endif
index 4e982ef..2b8a973 100644 (file)
@@ -79,16 +79,6 @@ typedef struct rad_listen_master_t {
        rad_listen_decode_t     decode;
 } rad_listen_master_t;
 
-typedef struct listen_socket_t {
-       /*
-        *      For normal sockets.
-        */
-       fr_ipaddr_t     ipaddr;
-       int             port;
-       const char              *interface;
-       RADCLIENT_LIST  *clients;
-} listen_socket_t;
-
 static rad_listen_t *listen_alloc(RAD_LISTEN_TYPE type);
 
 /*