this change allows one to type
ipfw table 2 add 1.1.1.1:255.255.255.0 0
in addition to the currently acceptable 1.1.1.1/24 0
The reason is that some programs supply the netmask in
that (mask) form and a shell script trying to add it to a
table
has a hard time converting it to the currently acceptable
form
(the latter).
I do know it won't handle non contiguous masks well but as
the
ipfw ABI code only accepts a network mask length instead of
a
mask, there's not much that can be done.
I may suggest a later fix for that but it will break the
ABI.
comments?
_______________________________________________
freebsd-net freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribe freebsd.org"
|