Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [SCM] UNNAMED PROJECT branch netdot-1.0 updated.
      netdot-1.0.1-7-gc6f167d ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Wed, 22 Aug 2012 20:58:00 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] UNNAMED PROJECT branch netdot-1.0
        updated.        netdot-1.0.1-7-gc6f167d
To: [email protected]
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, netdot-1.0 has been updated
       via  c6f167d5bef1864f7f4b3dbb6322ba3da03e2c65 (commit)
      from  71d6073cb36396e50894173afb86efe6e06485c6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c6f167d5bef1864f7f4b3dbb6322ba3da03e2c65
Author: Carlos Vicente <[email protected]>
Date:   Tue Aug 21 20:18:30 2012 -0400

    Fixed incorrect comparison operator in Ipblock::get_roots

diff --git a/lib/Netdot/Model/Ipblock.pm b/lib/Netdot/Model/Ipblock.pm
index 5260885..7b32e27 100644
--- a/lib/Netdot/Model/Ipblock.pm
+++ b/lib/Netdot/Model/Ipblock.pm
@@ -779,13 +779,13 @@ sub get_roots {
     
     my $len;
     my @ipb;
-    if ( $version == 4 || $version eq 'all' ){
+    if ( $version eq '4' || $version eq 'all' ){
        $len = 32;
        $where{version} = 4;
        $where{prefix} = { '!=', $len };
        push @ipb, $class->search_where(\%where, \%opts);
     }
-    if ( $version == 6 || $version eq 'all' ){
+    if ( $version eq '6' || $version eq 'all' ){
        $len = 128;
        $where{version} = 6;
        $where{prefix} = { '!=', $len };

-----------------------------------------------------------------------

Summary of changes:
 lib/Netdot/Model/Ipblock.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
UNNAMED PROJECT


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 65, Issue 19
********************************************

Reply via email to