aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export/client-export/template
diff options
context:
space:
mode:
authordarkain <github@darkain.com>2012-10-09 19:08:12 -0700
committerdarkain <github@darkain.com>2012-10-09 19:08:12 -0700
commit83f8ac2d59dc43987d87299e954f3b664c12f0d2 (patch)
tree50fc4b304018eca8070d3d23e919e8c5855b48b3 /config/openvpn-client-export/client-export/template
parente81d17ee8ee214544b6dd52de145ad704e69fa12 (diff)
downloadpfsense-packages-83f8ac2d59dc43987d87299e954f3b664c12f0d2.tar.gz
pfsense-packages-83f8ac2d59dc43987d87299e954f3b664c12f0d2.tar.bz2
pfsense-packages-83f8ac2d59dc43987d87299e954f3b664c12f0d2.zip
Fixing duplicate IP/Range entries
Because all three cases (CIDR, IP Range, and Single IP Address) are always tested, it is possible that more than one will have a positive match. Examples: 172.16.0.0/12 matches both for CIDR and Individual IP Address 169.254.0.0-169.254.255.255 matches for both Address Range and Individual IP By doing if, elseif, elseif instead of if, if, if testing, the later tests will only be performed if the former tests fail. Because the Individual IP Address test will return a result, even for CIDRs and IP Ranges, that test has been moved to the end of the elseif list.
Diffstat (limited to 'config/openvpn-client-export/client-export/template')
0 files changed, 0 insertions, 0 deletions