summaryrefslogtreecommitdiff
path: root/scripts/VyattaQosMatch.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/VyattaQosMatch.pm')
-rw-r--r--scripts/VyattaQosMatch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaQosMatch.pm b/scripts/VyattaQosMatch.pm
index 437dd50..cf54fb0 100644
--- a/scripts/VyattaQosMatch.pm
+++ b/scripts/VyattaQosMatch.pm
@@ -51,7 +51,7 @@ sub filter {
return;
}
- print {$out} "filter add dev $dev parent $parent:0 prio 1";
+ printf {$out} "filter add dev $dev parent %x:0 prio 1", $parent;
if (defined $ip) {
print {$out} " protocol ip u32";
print {$out} " match ip dsfield $$ip{dsfield} 0xff"