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

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Wed Jul 1 09:32:38 UTC 2009


Author: ccaillet-guest
Date: Wed Jul  1 09:32:38 2009
New Revision: 712

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=712
Log:
Permit an interface definition for a particular host even if interface.<iface>
(default value) is not defined. A warning is raised not an abort

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

Modified: trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pf-tools/trunk/debian/changelog?rev=712&op=diff
==============================================================================
--- trunk/debian/changelog (original)
+++ trunk/debian/changelog Wed Jul  1 09:32:38 2009
@@ -32,6 +32,8 @@
   * Integration of PFTools::Packages into Update.pm (need testing)
   * Avoid ethtool settings in Mk_interfaces for tagged interface(s)
   * Avoid potential undefined value with %POPNAME% and %HOSTNODEINDEX%
+  * Permit an interface definition for a particular host even if interface.<iface>
+    (default value) is not defined. A warning is raised not an abort
 
   [ Thomas Parmelan ]
   * debian/control
@@ -53,7 +55,7 @@
   * tools/kvmlaunch:
     - new script.
 
- -- Christophe Caillet <tof at sitadelle.com>  Tue, 02 Jun 2009 14:53:06 +0200
+ -- Christophe Caillet <tof at sitadelle.com>  Wed, 01 Jul 2009 11:29:32 +0200
 
 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=712&op=diff
==============================================================================
--- trunk/lib/PFTools/Net.pm (original)
+++ trunk/lib/PFTools/Net.pm Wed Jul  1 09:32:38 2009
@@ -963,7 +963,7 @@
 			$lan = $S->{'interface'}->{$i}->{$mnamindexnum} ;
 		    }
 		    elsif ( ! defined $S->{'interface'}->{$i}->{'default'} ) {
-			Abort( $ERR_SYNTAX, "No default vlan defined for interface ".$i ) ;
+			Warn( $ERR_SYNTAX, "No default vlan defined for interface ".$i ) ;
 		    }
 		    else {
 			$lan = $S->{'interface'}->{$i}->{'default'} ;




More information about the pf-tools-commits mailing list