summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorPatrick McHardyJesper Brouer <kaber@trash.nethawk@diku.dk>2006-07-25 01:50:48 +0000
committerPatrick McHardyPatrick McHardy <kaber@trash.netkaber@trash.net>2006-07-25 01:50:48 +0000
commitc1eae41e1957db56aaf7afcafa2f097042fa4217 (patch)
treea80ff9f6fa1b0710d477d84a56138e5a0def0233 /include/iptables.h
parenta6c1d926f6c3c00e0c1875d80b9579c95bde2cfa (diff)
Revert "proto_to_name duplication" patch, as noticed by Yasuyuki it can cause
invalid arguments to get accepted.
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/iptables.h b/include/iptables.h
index d616c8c4..ba27cac6 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -151,7 +151,6 @@ extern int line;
extern void register_match(struct iptables_match *me);
extern void register_target(struct iptables_target *me);
-extern char *proto_to_name(u_int8_t proto, int nolookup);
extern int service_to_port(const char *name, const char *proto);
extern u_int16_t parse_port(const char *port, const char *proto);
extern struct in_addr *dotted_to_addr(const char *dotted);