[debian-edu-commits] r80369 - branches/wheezy/debian-edu-config/share/debian-edu-config/tools

pere at alioth.debian.org pere at alioth.debian.org
Sat Jun 8 11:42:22 UTC 2013


Author: pere
Date: 2013-06-08 11:42:22 +0000 (Sat, 08 Jun 2013)
New Revision: 80369

Modified:
   branches/wheezy/debian-edu-config/share/debian-edu-config/tools/subnet-change
Log:
Remove debug output left in subnet-change by mistake.

Modified: branches/wheezy/debian-edu-config/share/debian-edu-config/tools/subnet-change
===================================================================
--- branches/wheezy/debian-edu-config/share/debian-edu-config/tools/subnet-change	2013-06-08 11:07:07 UTC (rev 80368)
+++ branches/wheezy/debian-edu-config/share/debian-edu-config/tools/subnet-change	2013-06-08 11:42:22 UTC (rev 80369)
@@ -664,13 +664,11 @@
         my $changed = 0;
         while (my $line = <$in>) {
             chomp $line;
-            print "$line\n";
             if ($line =~ m/^allow \^(\d+)\\\.(\d+)\\\.(\d+)\\\.(\d+)\$$/) {
                 my ($a1, $a2, $a3, $a4) = ($1, $2, $3, $4);
                 my $addr = "$a1.$a2.$a3.$a4";
                 my $newaddr =
                     replace_matching_addr($oldsubnet, $newsubnet, $addr);
-                print "$addr $newaddr\n";
                 if ($addr ne $newaddr) {
                     $line = "allow ^" . join('\.', split(/\./, $newaddr))
                         . "\$\n";




More information about the debian-edu-commits mailing list