From 27a579fceeabfdffd47d1e6618e0fa5d8dfc2b93 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: Tue, 25 Jul 2006 01:50:48 +0000 Subject: Revert "proto_to_name duplication" patch, as noticed by Yasuyuki it can cause invalid arguments to get accepted. --- iptables.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index 74925af..28917cf 100644 --- a/iptables.c +++ b/iptables.c @@ -229,10 +229,9 @@ static const struct pprot chain_protos[] = { { "esp", IPPROTO_ESP }, { "ah", IPPROTO_AH }, { "sctp", IPPROTO_SCTP }, - { "dccp", IPPROTO_DCCP }, }; -char * +static char * proto_to_name(u_int8_t proto, int nolookup) { unsigned int i; -- cgit v1.2.3