diff options
-rwxr-xr-x | gen-interface-templates.pl | 1 |
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; |