https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200169

            Bug ID: 200169
           Summary: ipfw table list uses IPv6 format for zero IPv4
                    addresses
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

`ipfw table N list` command print '::' string instead of '0.0.0.0' for some
reason. Even on systems without IPv6 support.
While `ipfw table N delete` require 0.0.0.0 to operate correctly.

Here is log of terminal:
(System without IPv6 support)
# ipfw table 1 list
# ipfw table 1 add 0.0.0.0/8
# ipfw table 1 list
::/8 0
# ipfw table 1 delete ::/8
ipfw: setsockopt(IP_FW_TABLE_XDEL): Invalid argument
# ipfw table 1 list
::/8 0
# ipfw table 1 delete 0.0.0.0/8
# ipfw table 1 list
# 

(System with IPv6 support)
# ipfw table 1 list
# ipfw table 1 add ::/8
# ipfw table 1 list
::/8 0
# ipfw table 1 add 0.0.0.0/8
# ipfw table 1 list
::/8 0
::/8 0
# ipfw table 1 delete ::/8
# ipfw table 1 list
::/8 0
# ipfw table 1 delete ::/8
ipfw: setsockopt(IP_FW_TABLE_XDEL): No such process
# ipfw table 1 list
::/8 0
# ipfw table 1 delete 0.0.0.0/8
# ipfw table 1 list
#

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to