diff options
author | stilez <stilez@users.noreply.github.com> | 2016-01-13 19:03:57 +0000 |
---|---|---|
committer | stilez <stilez@users.noreply.github.com> | 2016-01-13 19:03:57 +0000 |
commit | 94eb702ffe3bc20efa33da74bfea67349d039191 (patch) | |
tree | cae9c3bfa8a6e9f2f14efb7f003e020742aaecf8 /src | |
parent | 9f4a788f41925f24ceaeb9be7d6c82556eded662 (diff) | |
download | pfsense-94eb702ffe3bc20efa33da74bfea67349d039191.zip pfsense-94eb702ffe3bc20efa33da74bfea67349d039191.tar.gz |
5 or 6
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index cce481d..be1ffee 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -850,7 +850,7 @@ function subnetv4_expand($subnet) { /* find out whether two IPv4/IPv6 CIDR subnets overlap. Note: CIDR overlap implies one is identical or included so largest sn will be the same */ function check_subnets_overlap($subnet1, $bits1, $subnet2, $bits2) { - if (is_ipaddrv4($ipaddr)) { + if (is_ipaddrv4($subnet1)) { return check_subnetsv4_overlap($subnet1, $bits1, $subnet2, $bits2); } else { return check_subnetsv6_overlap($subnet1, $bits1, $subnet2, $bits2); |