Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2025 04:23:50 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 37580e661b52 - releng/15.0 - ipfw: Remove IP_DUMMYNET_GET case
Message-ID:  <202510300423.59U4NojO084639@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch releng/15.0 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=37580e661b522d05771e7b0e5e964e937c83c509

commit 37580e661b522d05771e7b0e5e964e937c83c509
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-24 20:51:25 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-30 04:23:10 +0000

    ipfw: Remove IP_DUMMYNET_GET case
    
    IP_DUMMYNET_GET is no longer used in ipfw(1).
    
    Approved by:    re (cperciva)
    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 864adbf14d92..a2b3e121e5df 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -648,7 +648,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 ||


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510300423.59U4NojO084639>