patch-1.3.42 linux/net/netrom/nr_route.c

Next file: linux/net/socket.c
Previous file: linux/net/netrom/nr_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/net/netrom/nr_route.c linux/net/netrom/nr_route.c
@@ -524,7 +524,7 @@
 		return dev;
 
 	if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ETHER)
-		if (arp_query((unsigned char *)&callsign, dev->pa_addr, ARPHRD_AX25))
+		if (arp_query((unsigned char *)&callsign, dev->pa_addr, dev))
 			return dev;
 	
 	return NULL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this