diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-19 18:35:03 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-19 18:35:03 -0800 |
commit | 3403cd4376015167008ea558f6672a75a0e2842c (patch) | |
tree | d2c5e92e75584c16f971da73210cfb39b6c6ff9b /scripts/vyatta-show-nat.pl | |
parent | 56880bec43eef6af8301cdfbe9c764b4257bd24b (diff) | |
download | vyatta-nat-3403cd4376015167008ea558f6672a75a0e2842c.tar.gz vyatta-nat-3403cd4376015167008ea558f6672a75a0e2842c.zip |
fix for bug 2067: add "exclude" option for NAT rules to allow users to
exclude certain packets from NAT.
Diffstat (limited to 'scripts/vyatta-show-nat.pl')
-rwxr-xr-x | scripts/vyatta-show-nat.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-nat.pl b/scripts/vyatta-show-nat.pl index bb25500..d046ab5 100755 --- a/scripts/vyatta-show-nat.pl +++ b/scripts/vyatta-show-nat.pl @@ -25,7 +25,7 @@ while (<STATS>) { $skey = ""; } - if ($skey ne "" && (m/SNAT/ || m/DNAT/ || m/MASQUERADE/)) { + if ($skey ne "" && (m/SNAT/ || m/DNAT/ || m/MASQUERADE/ || m/RETURN/)) { m/^\s*(\d+)\s+(\d+)\s/; push @{$stats{$skey}}, ($1, $2); } |