You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2017/04/25 17:20:13 UTC

[2/3] incubator-trafficcontrol git commit: tc-235 - fixes max_dns_answers for all DNS* types

tc-235 - fixes max_dns_answers for all DNS* types


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

Branch: refs/heads/master
Commit: 8c0c2333a796db1bd012c5653084e48e79e01220
Parents: 8743b1b
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Tue Apr 25 10:23:08 2017 -0600
Committer: Jeff Elsloo <je...@cable.comcast.com>
Committed: Tue Apr 25 11:19:44 2017 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/8c0c2333/traffic_ops/app/lib/UI/DeliveryService.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/DeliveryService.pm b/traffic_ops/app/lib/UI/DeliveryService.pm
index 262e90b..6e4428f 100644
--- a/traffic_ops/app/lib/UI/DeliveryService.pm
+++ b/traffic_ops/app/lib/UI/DeliveryService.pm
@@ -826,7 +826,7 @@ sub update {
 		);
 
 		my $typename = $self->typename();
-		if ( $typename eq "DNS" ) {
+		if ( $typename =~ /^DNS/ ) {
 			$hash{dns_bypass_ip}    = $self->paramAsScalar('ds.dns_bypass_ip');
 			$hash{dns_bypass_ip6}   = $self->paramAsScalar('ds.dns_bypass_ip6');
 			$hash{dns_bypass_cname} = $self->paramAsScalar('ds.dns_bypass_cname');