Main functional change is the implementation of matching of MAC header
fields as discussed in the commit to ip_fw.c:1.186 On top of this, a ton of non functional changes to clean up the code, write functions to replace sections of code that were replicated multiple times (e.g. the printing or matching of flags and options), splitting long sections of inlined code into separate functions, and the like. I have tested the code quite a bit, but some typos (using one variable in place of another) might have escaped. The "embedded manpage" is a bit inconsistent, but i am leaving fixing it for later. The current format makes no sense, it is over 40 lines long and practically unreadable. We can either split it into sections ( ipfw -h options , ipfw -h pipe , ipfw -h queue ...) or remove it altogether and refer to the manpage.
This commit is contained in:
parent
02fe70f68e
commit
b5fe0c436b
1449
sbin/ipfw/ipfw.c
1449
sbin/ipfw/ipfw.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user