ocket8888 commented on issue #5038:
URL: https://github.com/apache/trafficcontrol/issues/5038#issuecomment-694463753


   CIDR parsing is trivial to extract, though. We already have regular 
expressions that can match IPv4 and IPv6, and after that's known you can just 
extract the CIDR with a simple `parseInt(/.+\/(\d+)/.exec(ip).groups[1], 10)`.


----------------------------------------------------------------
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