pf-tools commit: r667 [ccaillet-guest] - in /trunk: debian/changelog lib/PFTools/Net.pm lib/PFTools/Update.pm

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Tue Nov 4 11:23:41 UTC 2008


Author: ccaillet-guest
Date: Tue Nov  4 11:23:41 2008
New Revision: 667

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=667
Log:
* Remove useless Getopt::Long on Update.pm
* Remove useless ethtool command for bond interfaces

Modified:
    trunk/debian/changelog
    trunk/lib/PFTools/Net.pm
    trunk/lib/PFTools/Update.pm

Modified: trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pf-tools/trunk/debian/changelog?rev=667&op=diff
==============================================================================
--- trunk/debian/changelog (original)
+++ trunk/debian/changelog Tue Nov  4 11:23:41 2008
@@ -14,8 +14,10 @@
   * Forward port fix an enhancement r658 from branches/0.33-stable
   * Avoid warnings and fix Resolv into Net.pm introduced by factorization from
     Get_Host_Props
-
- -- Christophe Caillet <quadchris at free.fr>  Thu, 23 Oct 2008 17:37:35 +0200
+  * Remove useless Getopt::Long on Update.pm
+  * Remove useless ethtool command for bond interfaces
+
+ -- Christophe Caillet <quadchris at free.fr>  Tue, 04 Nov 2008 12:21:43 +0100
 
 pf-tools (0.33.1-1) unstable; urgency=low
 

Modified: trunk/lib/PFTools/Net.pm
URL: http://svn.debian.org/wsvn/pf-tools/trunk/lib/PFTools/Net.pm?rev=667&op=diff
==============================================================================
--- trunk/lib/PFTools/Net.pm (original)
+++ trunk/lib/PFTools/Net.pm Tue Nov  4 11:23:41 2008
@@ -1779,10 +1779,12 @@
 	    if ( $ifname =~ m/^([^:.]+)\.(\d+)(:\d+)?$/ ) {
 		$ifname = $1;
 	    }
-	    print "\tup              ethtool -s " 
+	    unless ( $ifname =~ /^bond/ ) {
+		print "\tup              ethtool -s " 
 		. $ifname . " "
 		. $defaultmedia
 		. " || true\n";
+	    }
 	}
 
 	Mk_routes( $M, $Z, $M->{'ifup'}->{$nam} );

Modified: trunk/lib/PFTools/Update.pm
URL: http://svn.debian.org/wsvn/pf-tools/trunk/lib/PFTools/Update.pm?rev=667&op=diff
==============================================================================
--- trunk/lib/PFTools/Update.pm (original)
+++ trunk/lib/PFTools/Update.pm Tue Nov  4 11:23:41 2008
@@ -44,7 +44,6 @@
 use PFTools::Conf;
 use PFTools::Net;
 
-use Getopt::Long;
 use Fcntl ':mode';
 
 #Librairies Debconf




More information about the pf-tools-commits mailing list