Mercurial > syslog2iptables
diff src/syslogconfig.cpp @ 38:26c29da3fbdf
shutdown removes iptables entries that we added
author | carl |
---|---|
date | Thu, 08 Nov 2007 11:35:43 -0800 |
parents | e4eb969dfc4a |
children | d9ae11033b4b |
line wrap: on
line diff
--- a/src/syslogconfig.cpp Thu Nov 08 11:07:05 2007 -0800 +++ b/src/syslogconfig.cpp Thu Nov 08 11:35:43 2007 -0800 @@ -487,6 +487,14 @@ //////////////////////////////////////////////// +// clear all global strings, helper for valgrind checking +// +void clear_strings() { + discard(all_strings); +} + + +//////////////////////////////////////////////// // bool tsa(TOKEN &tok, char *token); bool tsa(TOKEN &tok, char *token) {