pf-tools commit: r713 [ccaillet-guest] - in /branches/0.33-stable: debian/changelog lib/PFTools/Net.pm

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


Author: ccaillet-guest
Date: Wed Jul  1 09:34:29 2009
New Revision: 713

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=713
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:
    branches/0.33-stable/debian/changelog
    branches/0.33-stable/lib/PFTools/Net.pm

Modified: branches/0.33-stable/debian/changelog
URL: http://svn.debian.org/wsvn/pf-tools/branches/0.33-stable/debian/changelog?rev=713&op=diff
==============================================================================
--- branches/0.33-stable/debian/changelog (original)
+++ branches/0.33-stable/debian/changelog Wed Jul  1 09:34:29 2009
@@ -28,8 +28,10 @@
     - avoid ethtool setting in Mk_interface for tagged iface
   * lib/PFTools/Conf.pm:
     - avoid potential undefined value with %POPNAME% and %HOSTNODEINDEX%
-
- -- Christophe Caillet <tof at sitadelle.com>  Tue, 02 Jun 2009 14:45:51 +0200
+  * Permit an interface definition for a particular host even if interface.<iface>
+    (default value) is not defined. A warning is raised not an abort
+
+ -- Christophe Caillet <tof at sitadelle.com>  Wed, 01 Jul 2009 11:33:55 +0200
 
 pf-tools (0.33.17-1) unstable; urgency=low
 

Modified: branches/0.33-stable/lib/PFTools/Net.pm
URL: http://svn.debian.org/wsvn/pf-tools/branches/0.33-stable/lib/PFTools/Net.pm?rev=713&op=diff
==============================================================================
--- branches/0.33-stable/lib/PFTools/Net.pm (original)
+++ branches/0.33-stable/lib/PFTools/Net.pm Wed Jul  1 09:34:29 2009
@@ -1078,7 +1078,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