git: 59bc2f095289 - stable/9 - arp(8): fixing the deletion failure of IEEE1394 associated addresses

From: Tai-hwa Liang <avatar_at_FreeBSD.org>
Date: Tue, 13 Sep 2022 11:38:00 UTC
The branch stable/9 has been updated by avatar:

URL: https://cgit.FreeBSD.org/src/commit/?id=59bc2f095289a10b8cfa55cbb2b45c3bd6c2d4ae

commit 59bc2f095289a10b8cfa55cbb2b45c3bd6c2d4ae
Author:     Tai-hwa Liang <avatar@FreeBSD.org>
AuthorDate: 2021-04-12 06:27:03 +0000
Commit:     Tai-hwa Liang <avatar@FreeBSD.org>
CommitDate: 2021-05-26 00:27:12 +0000

    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)
---
 usr.sbin/arp/arp.c | 1 +
 1 file changed, 1 insertion(+)

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: