diff options
author | Patrick McHardyJesper Brouer <kaber@trash.nethawk@diku.dk> | 2006-07-25 01:50:48 +0000 |
---|---|---|
committer | Patrick McHardyPatrick McHardy <kaber@trash.netkaber@trash.net> | 2006-07-25 01:50:48 +0000 |
commit | c1eae41e1957db56aaf7afcafa2f097042fa4217 (patch) | |
tree | a80ff9f6fa1b0710d477d84a56138e5a0def0233 /iptables.c | |
parent | a6c1d926f6c3c00e0c1875d80b9579c95bde2cfa (diff) |
Revert "proto_to_name duplication" patch, as noticed by Yasuyuki it can cause
invalid arguments to get accepted.
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |