You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/01/23 17:43:17 UTC

[2/4] incubator-trafficcontrol git commit: should be _number_ - thanks @mitchell852

should be _number_ - thanks @mitchell852


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/52b194e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/52b194e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/52b194e0

Branch: refs/heads/master
Commit: 52b194e0b5e94923bed0835122c272b7867e3036
Parents: 553e74f
Author: Jan van Doorn <jv...@apache.org>
Authored: Mon Jan 23 16:14:31 2017 +0000
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Jan 23 10:42:28 2017 -0700

----------------------------------------------------------------------
 traffic_ops/app/lib/UI/ConfigFiles.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/52b194e0/traffic_ops/app/lib/UI/ConfigFiles.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/ConfigFiles.pm b/traffic_ops/app/lib/UI/ConfigFiles.pm
index 156ff2c..8774f2a 100644
--- a/traffic_ops/app/lib/UI/ConfigFiles.pm
+++ b/traffic_ops/app/lib/UI/ConfigFiles.pm
@@ -551,7 +551,7 @@ sub ip_allow_data {
 
 		# compact, coalesce and compact combined list again
 		my @compacted_list = NetAddr::IP::Compact(@allowed_netaddrips);
-		my $coalesced_list = NetAddr::IP::Coalesce( $coalesce_masklen_v4 , $coalesce_masklen_v4, @allowed_netaddrips );
+		my $coalesced_list = NetAddr::IP::Coalesce( $coalesce_masklen_v4 , $coalesce_number_v4, @allowed_netaddrips );
 		my @combined_list  = NetAddr::IP::Compact( @allowed_netaddrips, @{$coalesced_list} );
 		foreach my $net (@combined_list) {
 			my $range = $net->range();