]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
If the port is already used, try another.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 30 Oct 2009 00:29:26 +0000 (20:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 30 Oct 2009 00:29:26 +0000 (20:29 -0400)
src/main/listen.c

index 372bd769eddb94af2d68403fa59e59699cdf8edd..0c4957de464f487ed9dec0d669122fc1b9723491 100644 (file)
@@ -1740,8 +1740,7 @@ rad_listen_t *proxy_new_listener(fr_ipaddr_t *ipaddr, int exists)
 
                rcode = listen_bind(this);
                if (rcode < 0) {
-                       listen_free(&this);
-                       return NULL;
+                       continue;
                }
                
                /*