summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-02-28 15:04:35 -0800
committerJohn Southworth <john.southworth@vyatta.com>2012-02-28 15:13:44 -0800
commit22fb2af959b207ca3a5d5bfd4f5931614f961903 (patch)
treeae3b26641d32d0874fec8fda798eb58fa8ce488f
parentb75f91b2dc1fd6bc4d65f93528e3492ad15e4e52 (diff)
downloadvyatta-cfg-qos-22fb2af959b207ca3a5d5bfd4f5931614f961903.tar.gz
vyatta-cfg-qos-22fb2af959b207ca3a5d5bfd4f5931614f961903.zip
Don't actually do anything in the redirect node.def for openvpn, let the openvpn script handle this.
-rwxr-xr-xgen-interface-templates.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 8e435f6..1824fae 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -99,6 +99,7 @@ sub gen_template {
while ( my $line = <$inf> ) {
$line =~ s#\$IFNAME#$ifname#;
+ next if (($line =~ /^update:/ || $line =~ /^delete:/) && $iftree =~ /openvpn/);
print $outf $line;
}
close $inf;