summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIlles Marci <marci@balabit.hu>2003-03-03 08:08:37 +0000
committerHarald Welte <laforge@gnumonks.org>2003-03-03 08:08:37 +0000
commit63e9063a660809385fd17edb94da044c7c884e02 (patch)
tree4d7f9291c2ab6db9be14f83886a233361d83c381 /include
parent26100fa186b9df8585a690e7efb3b13863efbe1f (diff)
make iptables-restore print the line number in case of an error
(Illes Marci <marci@balabit.hu>)
Diffstat (limited to 'include')
-rw-r--r--include/iptables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 858bbdc7..205984eb 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -106,6 +106,8 @@ struct iptables_target
#endif
};
+extern int line;
+
/* Your shared library should call one of these. */
extern void register_match(struct iptables_match *me);
extern void register_target(struct iptables_target *me);