Correct placement of bracket for non-IPv6 systems
authorAlan T. DeKok <aland@freeradius.org>
Sun, 14 Sep 2008 13:19:15 +0000 (15:19 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 14 Sep 2008 13:19:15 +0000 (15:19 +0200)
src/main/listen.c

index 4e40f00..7e7d504 100644 (file)
@@ -1225,8 +1225,8 @@ static int listen_bind(rad_listen_t *this)
                                   (char *)&on, sizeof(on));
                }
 #endif /* IPV6_V6ONLY */
-#endif /* HAVE_STRUCT_SOCKADDR_IN6 */
        }
+#endif /* HAVE_STRUCT_SOCKADDR_IN6 */
                
        if (bind(this->fd, (struct sockaddr *) &salocal, salen) < 0) {
                close(this->fd);