1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Add the VLAN interface type to the list of ARP-capable interface types.

This commit is contained in:
Yaroslav Tykhiy 2001-04-04 15:14:06 +00:00
parent b7bffa713d
commit 88d5b61358
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75180

View File

@ -312,7 +312,7 @@ set(int argc, char **argv)
(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_L2VLAN:
goto overwrite;
}
if (doing_proxy == 0) {
@ -399,7 +399,7 @@ delete(char *host, char *info)
(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_L2VLAN:
goto delete;
}
}
@ -509,6 +509,9 @@ print_entry(struct sockaddr_dl *sdl,
case IFT_ISO88025:
printf(" [token-ring]");
break;
case IFT_L2VLAN:
printf(" [vlan]");
break;
default:
}
if (sdl->sdl_rcf != NULL) {