patch-2.1.25 linux/net/appletalk/aarp.c
Next file: linux/net/appletalk/ddp.c
Previous file: linux/net/README
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Feb 2 15:18:48 1997
- Orig file:
v2.1.24/linux/net/appletalk/aarp.c
- Orig date:
Thu Jan 2 15:55:26 1997
diff -u --recursive --new-file v2.1.24/linux/net/appletalk/aarp.c linux/net/appletalk/aarp.c
@@ -441,9 +441,11 @@
* Compressible ?
*
* IFF: src_net==dest_net==device_net
+ * (zero matches anything)
*/
- if(at->s_net==sa->s_net && sa->s_net==ddp->deh_snet)
+ if( ( ddp->deh_snet==0 || at->s_net==ddp->deh_snet)
+ &&( ddp->deh_dnet==0 || at->s_net==ddp->deh_dnet) )
{
skb_pull(skb,sizeof(struct ddpehdr)-4);
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov