The branch releng/15.0 has been updated by cperciva:

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

commit 37580e661b522d05771e7b0e5e964e937c83c509
Author:     Ed Maste <[email protected]>
AuthorDate: 2025-10-24 20:51:25 +0000
Commit:     Colin Percival <[email protected]>
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 ||

Reply via email to