diff options
Diffstat (limited to 'scripts')
-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 7997d48..9d2b4ff 100755 --- a/scripts/vyatta-show-nat.pl +++ b/scripts/vyatta-show-nat.pl @@ -31,7 +31,7 @@ while (<STATS>) { } if ($skey ne "" && (m/SNAT/ || m/DNAT/ || m/MASQUERADE/ || m/RETURN/)) { - m/^\s*(\d+)\s+(\d+)\s/; + m/^\s*(\d+[KMG]?)\s+(\d+[KMG]?)\s/; push @{$stats{$skey}}, ($1, $2); } } |