From owner-freebsd-bugs Tue Aug 8 17: 0:19 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D959F37BDB9 for ; Tue, 8 Aug 2000 17:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA06896; Tue, 8 Aug 2000 17:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Aug 2000 17:00:02 -0700 (PDT) Message-Id: <200008090000.RAA06896@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Jeremy Subject: Re: kern/19436: when using vlanX interface arp ageing work incorrectly Reply-To: Peter Jeremy Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/19436; it has been noted by GNATS. From: Peter Jeremy 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