aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@FreeBSD.org>2021-04-12 06:27:03 +0000
committerTai-hwa Liang <avatar@FreeBSD.org>2021-05-26 00:27:12 +0000
commit59bc2f095289a10b8cfa55cbb2b45c3bd6c2d4ae (patch)
tree1fedfb0aa36137e57f25832ba05ef748fd968c28
parente0f305d9a99d83a9d4dba7518459a978c67a0059 (diff)
downloadsrc-stable/9.tar.gz
src-stable/9.zip
arp(8): fixing the deletion failure of IEEE1394 associated addressesstable/9
Without this, 'arp -d ${IEEE1394_ADDRESS}' gives the following error: arp: delete: cannot locate 10.0.0.71 Reviewed by: glebius MFC after: 2 weeks (cherry picked from commit a0d6d0d0b9aba6d4c025b2f2807e7c4b4c4b2415)
-rw-r--r--usr.sbin/arp/arp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 9a7f91f412c5..8307aa478e47 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -281,6 +281,7 @@ valid_type(int type)
switch (type) {
case IFT_ETHER:
case IFT_FDDI:
+ case IFT_IEEE1394:
case IFT_ISO88023:
case IFT_ISO88024:
case IFT_ISO88025: