git: 27ee6b7240cc - stable/14 - ipfw: Remove IP_DUMMYNET_GET case

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 29 Oct 2025 13:45:35 UTC
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=27ee6b7240cc29f8a348196ba09fe7b38efe4a23

commit 27ee6b7240cc29f8a348196ba09fe7b38efe4a23
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-24 20:51:25 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-29 13:45:11 +0000

    ipfw: Remove IP_DUMMYNET_GET case
    
    IP_DUMMYNET_GET is no longer used in ipfw(1).
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53348
    
    (cherry picked from commit 28e52dea96809c7904e498759ee1f79bda929a82)
    (cherry picked from commit 73c105268cc6138015241b080bc7945c6cde0fa6)
---
 sbin/ipfw/ipfw2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index b41951b9b6b9..43b69c742f15 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -620,7 +620,7 @@ do_cmd(int optname, void *optval, uintptr_t optlen)
 	if (ipfw_socket < 0)
 		err(EX_UNAVAILABLE, "socket");
 
-	if (optname == IP_FW_GET || optname == IP_DUMMYNET_GET ||
+	if (optname == IP_FW_GET ||
 	    optname == IP_FW_ADD || optname == IP_FW3 ||
 	    optname == IP_FW_NAT_GET_CONFIG ||
 	    optname < 0 ||