in.c.patch

shamaz, 04/11/2014 09:06 PM

Download (394 Bytes)

View differences:

sys/netinet/in.c
1299 1299
	if (in.s_addr == INADDR_BROADCAST ||
1300 1300
	    in.s_addr == INADDR_ANY)
1301 1301
		return 1;
1302
    if (ifp == NULL) return 0;
1302 1303
	if ((ifp->if_flags & IFF_BROADCAST) == 0)
1303 1304
		return 0;
1304 1305
	t = ntohl(in.s_addr);