summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorlaforge <laforge>2003-03-03 08:08:37 +0000
committerlaforge <laforge>2003-03-03 08:08:37 +0000
commit6b1dd80e6fc5de59a708eb87e2ea362bcfbb733a (patch)
tree4d7f9291c2ab6db9be14f83886a233361d83c381 /include/iptables.h
parenta37c4fd6b48c0bdc676803f003b01e0f2bee61dd (diff)
make iptables-restore print the line number in case of an error
(Illes Marci <marci@balabit.hu>)
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 858bbdc..205984e 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);