Date: Tue, 8 Aug 2000 17:00:02 -0700 (PDT) From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/19436: when using vlanX interface arp ageing work incorrectly Message-ID: <200008090000.RAA06896@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/19436; it has been noted by GNATS. From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: freebsd-gnats-submit@FreeBSD.ORG Cc: vova@express.ru Subject: Re: kern/19436: when using vlanX interface arp ageing work incorrectly Date: Wed, 09 Aug 2000 09:51:41 +1000 Looking through your patch, I believe it should be the following: The first hunk supports setting ARP entries, the second is your patch, the third is to identify the VLAN entries (and is optional). Index: arp.c =================================================================== RCS file: /gsmx07/CVSROOT/src/usr.sbin/arp/arp.c,v retrieving revision 1.22 diff -u -b -r1.22 arp.c --- arp.c 2000/03/03 13:01:57 1.22 +++ arp.c 2000/08/08 23:45:19 @@ -310,7 +310,7 @@ (rtm->rtm_flags & RTF_LLINFO) && !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { case IFT_ETHER: case IFT_FDDI: case IFT_ISO88023: - case IFT_ISO88024: case IFT_ISO88025: + case IFT_ISO88024: case IFT_ISO88025: case IFT_PROPVIRTUAL: goto overwrite; } if (doing_proxy == 0) { @@ -397,7 +397,7 @@ (rtm->rtm_flags & RTF_LLINFO) && !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { case IFT_ETHER: case IFT_FDDI: case IFT_ISO88023: - case IFT_ISO88024: case IFT_ISO88025: + case IFT_ISO88024: case IFT_ISO88025: case IFT_PROPVIRTUAL: goto delete; } } @@ -509,6 +509,9 @@ case IFT_ISO88025: printf(" [token-ring]"); break; + case IFT_PROPVIRTUAL: + printf(" [vlan]"); + break; default: } if (sdl->sdl_rcf != NULL) { Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008090000.RAA06896>