]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Not needed...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 29 Nov 2020 19:02:36 +0000 (12:02 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 29 Nov 2020 19:02:36 +0000 (12:02 -0700)
src/modules/proto_dhcpv4/proto_dhcpv4_udp.c

index cebd5fd1dd9523c93191522282fda9e6c631b16b..ad0c9eec068c8b9b986f801d0a447411b4ac61d2 100644 (file)
@@ -520,7 +520,7 @@ static int mod_open(fr_listen_t *li)
         *      Set SO_REUSEPORT before bind, so that all packets can
         *      listen on the same destination IP address.
         */
-       if (1) {
+       {
                int on = 1;
 
                if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on)) < 0) {