From d80c89992996ea5a58576e8d55a047243143876f Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org" Date: Sat, 22 Jul 2006 14:10:53 +0000 Subject: [PATCH] proto_to_name duplication (Phil Oester ) Update multiport match to use the iptables version of proto_to_name instead of reinventing the wheel. --- include/iptables.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/iptables.h') diff --git a/include/iptables.h b/include/iptables.h index ba27cac..d616c8c 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -151,6 +151,7 @@ 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); -- cgit v1.2.3