summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-15 13:13:02 -0700
committerStephen Hemminger <shemminger@lenny.localdomain>2009-10-01 13:51:20 -0700
commite653c208a4ac2e063bb56bbfdaf19f6e9d998e00 (patch)
treecdd1ea58f0a53b442e1a5ea5121ee77e5d6e536b
parent83aef96b5eefe8c851f3cac7492b71eed3afe51b (diff)
downloadvyatta-cfg-qos-e653c208a4ac2e063bb56bbfdaf19f6e9d998e00.tar.gz
vyatta-cfg-qos-e653c208a4ac2e063bb56bbfdaf19f6e9d998e00.zip
Fix issues with vif match
Typo in hash for match Bug 4583 (cherry picked from commit 2631b297f701250537ed0eeda21d5fe01c67785f)
-rw-r--r--lib/Vyatta/Qos/Match.pm6
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;