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>2022-09-14 13:10:15 +0000
commit2b3ce27cae4c75258a0c32a9c8a0db3d0639882d (patch)
tree30f5b2c7726054cccfef9817ff25dd2861fa5738
parentc36d306bb0defd6dd6a1d01cfdb1dd511368ca4d (diff)
downloadsrc-stable/8.tar.gz
src-stable/8.zip
arp(8): fixing the deletion failure of IEEE1394 associated addressesstable/8
Without this, 'arp -d ${IEEE1394_ADDRESS}' gives the following error: arp: delete: cannot locate 10.0.0.71 Reviewed by: glebius (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 2ee9d67e6827..8b124ca7c5ac 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: