patch-2.1.26 linux/net/ipv4/udp.c

Next file: linux/net/ipx/af_ipx.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.25/linux/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -627,7 +627,7 @@
 			       sk->ip_tos|sk->localroute);
 	if (err)
 		return err;
-	if (rt->rt_flags&RTF_BROADCAST && !sk->broadcast) {
+	if ((rt->rt_flags&RTF_BROADCAST) && !sk->broadcast) {
 		ip_rt_put(rt);
 		return -EACCES;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov