diff options
Diffstat (limited to 'lib/Vyatta/Qos/Util.pm')
-rw-r--r-- | lib/Vyatta/Qos/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/Util.pm b/lib/Vyatta/Qos/Util.pm index 3330c3e..5782fa9 100644 --- a/lib/Vyatta/Qos/Util.pm +++ b/lib/Vyatta/Qos/Util.pm @@ -98,7 +98,7 @@ sub getRate { if ($num == 0); die "$rate is not a valid bandwidth (negative value)\n" - if ($rate < 0); + if ($num < 0); if ( defined $suffix ) { my $scale = $rates{ lc $suffix }; |