pf-tools/pf-tools: bugfix

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Thu Dec 18 15:15:01 UTC 2014


details:   http://hg.debian.org/hg/pf-tools/pf-tools/rev/d9ff1010e7ec
changeset: 1407:d9ff1010e7ec
user:      melkor <melkor at sitadelle.com>
date:      Thu Dec 18 16:14:59 2014 +0100
description:
bugfix

diffstat:

 lib/PFTools/Conf/Host.pm |  2 +-
 t/13.conf.t              |  2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 80fbaa09a532 -r d9ff1010e7ec lib/PFTools/Conf/Host.pm
--- a/lib/PFTools/Conf/Host.pm	Thu Dec 18 15:53:23 2014 +0100
+++ b/lib/PFTools/Conf/Host.pm	Thu Dec 18 16:14:59 2014 +0100
@@ -181,7 +181,7 @@
                         hostname      => $hostname,
                         hostnum       => $hostnum,
                         hostnode      => $hostnode,
-                        link_list_ref => \@link_list,
+                        host_ref      => $host_ref,
                         site_name     => $site,
                         site_ref      => $site_part_ref,
                         pf_config     => $pf_config,
diff -r 80fbaa09a532 -r d9ff1010e7ec t/13.conf.t
--- a/t/13.conf.t	Thu Dec 18 15:53:23 2014 +0100
+++ b/t/13.conf.t	Thu Dec 18 16:14:59 2014 +0100
@@ -872,9 +872,11 @@
 qr{ \A ERROR: [ ] Invalid [ ] non-hashref [ ] 'pf_config' }xms
     => q{Dies if non-hashref $pf_config};
 
+print "lala\n";
 $parsed_configuration
     = init_global_netconfig( q{COMMON:private-network}, $test_hash_subst,
     $test_pf_config );
+print "lala\n";
 
 $expected_configuration = {
     'DHCP' => {



More information about the pf-tools-commits mailing list