More VQP wrappers
authorAlan T. DeKok <aland@freeradius.org>
Wed, 11 Mar 2009 03:09:48 +0000 (04:09 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 12 Mar 2009 01:56:15 +0000 (02:56 +0100)
src/main/listen.c

index 89983a4..d6c75d3 100644 (file)
@@ -1153,6 +1153,7 @@ int listen_init(CONF_SECTION *config, rad_listen_t **head)
                                port = sock->port + 2; /* skip acct port */
                                break;
                        }
+#ifdef WITH_VMPS
                        if (this->type == RAD_LISTEN_VQP) {
                                sock = this->data;
                                if (server_ipaddr.af == AF_UNSPEC) {
@@ -1161,6 +1162,7 @@ int listen_init(CONF_SECTION *config, rad_listen_t **head)
                                port = sock->port + 1;
                                break;
                        }
+#endif
                }
 
                if (port < 0) port = 1024 + (fr_rand() & 0x1ff);