Use correct ifdef
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 Dec 2013 14:03:32 +0000 (09:03 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Dec 2013 14:03:32 +0000 (09:03 -0500)
src/main/listen.c

index ec7ecea..9b82457 100644 (file)
@@ -2817,12 +2817,14 @@ static rad_listen_t *listen_parse(CONF_SECTION *cs, char const *server)
        this->server = server;
        this->fd = -1;
 
+#ifdef WITH_TCP
        /*
         *      Special-case '+' for "auth+acct".
         */
        if (strchr(listen_type, '+') != NULL) {
                this->dual = true;
        }
+#endif
 
        /*
         *      Call per-type parser.