diff options
Diffstat (limited to 'extensions/libipt_SNAT.c')
-rw-r--r-- | extensions/libipt_SNAT.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/libipt_SNAT.c b/extensions/libipt_SNAT.c index a893a47d..74607603 100644 --- a/extensions/libipt_SNAT.c +++ b/extensions/libipt_SNAT.c @@ -143,7 +143,8 @@ parse(int c, char **argv, int invert, unsigned int *flags, 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; |