patch-2.1.20 linux/net/ipv4/devinet.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Thu Jan  2 15:13:28 1997
-  Orig file: 
v2.1.19/linux/net/ipv4/devinet.c
-  Orig date: 
Sun Dec 22 16:37:44 1996
diff -u --recursive --new-file v2.1.19/linux/net/ipv4/devinet.c linux/net/ipv4/devinet.c
@@ -240,10 +240,6 @@
 
 			addr = (*(struct sockaddr_in *)&ifr.ifr_broadaddr).sin_addr.s_addr;
 
-			if (addr == dev->pa_brdaddr) {
-				dev->ip_flags |= IFF_IP_BRD_OK;
-				return 0;
-			}
 			if (dev->flags & IFF_UP)
 				ip_rt_change_broadcast(dev, addr);
 			dev->pa_brdaddr = addr;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov