iptables: add exception handling
authorJo-Philipp Wich <jo@mein.io>
Tue, 2 May 2017 13:01:02 +0000 (15:01 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 12 May 2017 14:10:06 +0000 (16:10 +0200)
commite5dfc8253bebb7cfed06f81f34bbe1afdf285735
treef26b2c79e62782ca141b516a2bfb831abc2b5ed9
parentf62595480555f4034841cfbdec5858645528ae7d
iptables: add exception handling

Override libxtables standard error handler to not exit the program but to
longjmp() back to error handling code which is simply skipping the rule.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iptables.c