patch-1.3.42 linux/net/ax25/af_ax25.c
Next file: linux/net/core/dev.c
Previous file: linux/net/Changes
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 14 16:03:57 1995
- Orig file:
v1.3.41/linux/net/ax25/af_ax25.c
- Orig date:
Wed Nov 8 07:11:44 1995
diff -u --recursive --new-file v1.3.41/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -661,7 +661,7 @@
return dev;
break;
case ARPHRD_ETHER:
- if (arp_query((unsigned char *)&dev_addr, dev->pa_addr, ARPHRD_AX25))
+ if (arp_query((unsigned char *)&dev_addr, dev->pa_addr, dev))
if (ax25cmp(addr, &dev_addr) == 0)
return dev;
break;
@@ -1669,7 +1669,7 @@
skb->sk = NULL; /* Initially we don't know who its for */
- if (!arp_query((unsigned char *)&port_call, dev->pa_addr, ARPHRD_AX25)) {
+ if (!arp_query((unsigned char *)&port_call, dev->pa_addr, dev)) {
kfree_skb(skb, FREE_READ); /* We have no port callsign */
return 0;
}
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