diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-15 13:13:02 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-15 13:13:02 -0700 |
commit | 2631b297f701250537ed0eeda21d5fe01c67785f (patch) | |
tree | d29797e338160c53162c676beaf15489d6ef91ab | |
parent | 39712bfaf390a4435218a14308cc6efa1a2d39b8 (diff) | |
download | vyatta-cfg-qos-2631b297f701250537ed0eeda21d5fe01c67785f.tar.gz vyatta-cfg-qos-2631b297f701250537ed0eeda21d5fe01c67785f.zip |
Fix issues with vif match
Typo in hash for match
Bug 4583
-rw-r--r-- | lib/Vyatta/Qos/Match.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Vyatta/Qos/Match.pm b/lib/Vyatta/Qos/Match.pm index 7b81043..fd1714a 100644 --- a/lib/Vyatta/Qos/Match.pm +++ b/lib/Vyatta/Qos/Match.pm @@ -116,9 +116,9 @@ sub filter { } } - my $indev = $self->{indev}; - my $vif = $self->{vif}; - if ( $vif || $indev ) { + my $indev = $self->{_indev}; + my $vif = $self->{_vif}; + if ( defined($vif) || defined($indev) ) { printf "filter add dev %s parent %x: prio %d", $dev, $parent, $prio; print " protocol all basic"; print " match meta\(rt_iif eq $indev\)" if $indev; |