mitchell852 commented on a change in pull request #5052:
URL: https://github.com/apache/trafficcontrol/pull/5052#discussion_r491216859



##########
File path: 
traffic_portal/app/src/common/modules/form/server/FormServerController.js
##########
@@ -140,6 +140,24 @@ var FormServerController = function(server, $scope, 
$location, $state, $uibModal
         getProfiles($scope.server.cdnId); // and get a new list of profiles 
(for the selected cdn)
     };
 
+    $scope.isLargeCIDR = function(address) {
+        if($scope.IPWithCIDRPattern.test(address) && 
/.+\/(\d+)/.test(address)) {

Review comment:
       quite sure there is a more elegant way to do this :P




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to