summaryrefslogtreecommitdiffstats
path: root/lib/libalias
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2002-07-08 22:46:01 +0000
committerluigi <luigi@FreeBSD.org>2002-07-08 22:46:01 +0000
commitc0b0dbd582facb71fbd405c64c2712d7af0eeb08 (patch)
treebabf3536220f257663f7b3fe3a9a2de274aadc9e /lib/libalias
parent29f095d651a2aeed0a30caa72df705d20646d9ae (diff)
downloadFreeBSD-src-c0b0dbd582facb71fbd405c64c2712d7af0eeb08.zip
FreeBSD-src-c0b0dbd582facb71fbd405c64c2712d7af0eeb08.tar.gz
No functional changes, but:
Following Darren's suggestion, make Dijkstra happy and rewrite the ipfw_chk() main loop removing a lot of goto's and using instead a variable to store match status. Add a lot of comments to explain what instructions are supposed to do and how -- this should ease auditing of the code and make people more confident with it. In terms of code size: the entire file takes about 12700 bytes of text, about 3K of which are for the main function, ipfw_chk(), and 2K (ouch!) for ipfw_log().
Diffstat (limited to 'lib/libalias')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud