Re: addition to ipfw table..

2008-04-17 Thread Andrey V. Elsukov
Julian Elischer wrote: 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? What you think about my patch?

addition to ipfw table..

2008-04-16 Thread Julian Elischer
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