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-17 09:23:00 +0000
commit5e4388126aac3c3065a8c64518130eeba856409d (patch)
treebecc1d86d3e8af9e274ea2304fbdd233a7df0a06
parent370c8a1f784c62d0cf28aa1202a0575add1b3559 (diff)
downloadsrc-5e4388126aac3c3065a8c64518130eeba856409d.tar.gz
src-5e4388126aac3c3065a8c64518130eeba856409d.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 (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 4ef0258c5a33..aaf747e49b14 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -298,6 +298,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: