diff options
author | Arne Sund <arnels@stortinget.samfundet.no> | 2015-03-30 21:25:04 +0200 |
---|---|---|
committer | Arne Sund <arnels@stortinget.samfundet.no> | 2015-03-30 21:25:04 +0200 |
commit | 98820e626686334dc24d29454bf0a9ca2965015d (patch) | |
tree | 77ceea81c29a9ba4c86a149fcb281a08b840ef83 /bootstrap/make-missing-conf.pl | |
parent | 9007d35be7bc922f9d2f858bd40e5b96529cc943 (diff) | |
parent | 0713e9c8627abb20a701c16b74ef5f29d2231624 (diff) |
Merge branch 'master' of https://github.com/tech-server/tgmanage
Diffstat (limited to 'bootstrap/make-missing-conf.pl')
-rwxr-xr-x | bootstrap/make-missing-conf.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/make-missing-conf.pl b/bootstrap/make-missing-conf.pl index b128695..0159452 100755 --- a/bootstrap/make-missing-conf.pl +++ b/bootstrap/make-missing-conf.pl @@ -40,7 +40,7 @@ my $base_ipv4 = Net::IP->new( $nms::config::base_ipv4net ); my ($cp_oct, $cs_oct, $ct_oct) = ($nms::config::base_ipv4net =~ m/^(\d+)\.(\d+)\.(\d+)\..*/); while ( <STDIN> ){ - next if ( $_ =~ m/^#/); + next if ( $_ =~ m/^(#|$)/); # comment or blank line my $line = $_; chomp $line; # <v4 net> <v6 net> <network-name> |