commit | 36d870c76621b94d51816d09eb8fd05e0fb0a0ab | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Fri Jul 22 06:39:45 2005 +0000 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Jul 22 06:39:45 2005 +0000 |
tree | 57f54ce376b9a32403a0d30fb3b1e036167a85a7 | |
parent | efa8fc2123a2a9fc229ab471edd2b2688ce1da3a [diff] [blame] |
Fix NAT of ICMP ID ranges (Patrick McHardy)
diff --git a/extensions/libipt_REDIRECT.c b/extensions/libipt_REDIRECT.c index 1395f62..e29bf2f 100644 --- a/extensions/libipt_REDIRECT.c +++ b/extensions/libipt_REDIRECT.c
@@ -81,7 +81,8 @@ int portok; if (entry->ip.proto == IPPROTO_TCP - || entry->ip.proto == IPPROTO_UDP) + || entry->ip.proto == IPPROTO_UDP + || entry->ip.proto == IPPROTO_ICMP) portok = 1; else portok = 0;