diff options
author | root <root@tgmanage.gathering.org> | 2015-03-30 12:45:06 +0200 |
---|---|---|
committer | root <root@tgmanage.gathering.org> | 2015-03-30 12:45:06 +0200 |
commit | bb2abf7f0958a1b56d993ec2b7185462902ea6a0 (patch) | |
tree | edec9969fd64552a98af99e54c17c436dc994b74 /bootstrap/make-missing-conf.pl | |
parent | d89553b58f2f644e62f17d07b2a3aadac165644b (diff) | |
parent | 61dfddebf652cae188e9ca3381cfbbb129728fa7 (diff) |
Merge branch 'master' of 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> |