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-04-13 22:59:58 +0000
commita0d6d0d0b9aba6d4c025b2f2807e7c4b4c4b2415 (patch)
tree742b02fe8e379f1e2d402eb7ada291afa3ea29be
parentd9b61e7153c64b141436b4d9619b166c6d35a0a6 (diff)
downloadsrc-a0d6d0d0b9aba6d4c025b2f2807e7c4b4c4b2415.tar.gz
src-a0d6d0d0b9aba6d4c025b2f2807e7c4b4c4b2415.zip
arp(8): fixing the deletion failure of IEEE1394 associated addresses
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
-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 08698c7bc299..f018baa2679e 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -299,6 +299,7 @@ valid_type(int type)
switch (type) {
case IFT_ETHER:
case IFT_FDDI:
+ case IFT_IEEE1394:
case IFT_INFINIBAND:
case IFT_ISO88023:
case IFT_ISO88024: