From e653c208a4ac2e063bb56bbfdaf19f6e9d998e00 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 15 Jun 2009 13:13:02 -0700 Subject: Fix issues with vif match Typo in hash for match Bug 4583 (cherry picked from commit 2631b297f701250537ed0eeda21d5fe01c67785f) --- lib/Vyatta/Qos/Match.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3