7 Apr
2019
7 Apr
'19
4:48 p.m.
On Sun, 2019-04-07 at 21:36 +0100, Richard J Palmer wrote:
if (Framed-IP-Address =~ /172\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/) { sqlippool } Which seems to work and I am now only seeing the sqlippool calls when the IP is that match...
Now my knowledge of regex is not the greatest - so I would really appreciate someone here taking a quick look and saying if that looks correct
Looks fine - or just /^172\./ To match "172." at the start. -- Matthew