summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_limit.man
diff options
context:
space:
mode:
authorDerrik Pates <demon@devrandom.net>2005-02-01 13:28:14 +0000
committerHarald Welte <laforge@gnumonks.org>2005-02-01 13:28:14 +0000
commit664c0a30b7963040da2e7a7e86dc56a0f1a829b5 (patch)
tree58b1a92640aab2603b235908f6b65f25ee64b3de /extensions/libip6t_limit.man
parent3fb61f3d4a194ba989fe8470f16064f20e59e3bc (diff)
- Sets the 'iptc_fn' global variable to the pointer to the current functions in all major TC_* functions. This is necessary because in certain cases, an error return from a function that doesn't set 'iptc_fn' will conflict with a function-specific error return from one that does, causing TC_STRERROR() to return the wrong error string. This ensures that the right one will be returned.
- Implements a simple reference counter for the netlink socket global variable 'sockfd'; this is necessary for IPTables::IPv4, where multiple tables (filter, nat, mangle, untracked) may be opened at one time. The way libiptc does it in the official version causes previously-opened tables to break such that attempts to commit changes will fail. - Adds a couple of memset() invocations in TC_COMMIT, based on past analysis with valgrind. It claimed that allocated structure were not being fully initialized, and adding the memset()s corrected this warning. (Derrik Pates <demon@devrandom.net>)
Diffstat (limited to 'extensions/libip6t_limit.man')
0 files changed, 0 insertions, 0 deletions