summaryrefslogtreecommitdiffstats
path: root/etc/inc/ipsec.inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-01-06 22:51:13 +0100
committerErmal LUÇI <eri@pfsense.org>2015-01-06 22:54:37 +0100
commit9b182b0801760aed00b66a4036758340404a4877 (patch)
tree38706c80e563568451bac641911674ab6b35e0a9 /etc/inc/ipsec.inc
parentc8d87d2aa9e18237271f129be8d2d65480f7735d (diff)
downloadpfsense-9b182b0801760aed00b66a4036758340404a4877.zip
pfsense-9b182b0801760aed00b66a4036758340404a4877.tar.gz
Enforce subnet check here to avoid any issues resulting from function call.
Diffstat (limited to 'etc/inc/ipsec.inc')
-rw-r--r--etc/inc/ipsec.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc
index d6e2669..eb527e0 100644
--- a/etc/inc/ipsec.inc
+++ b/etc/inc/ipsec.inc
@@ -225,7 +225,7 @@ function ipsec_idinfo_to_cidr(& $idinfo, $addrbits = false, $mode = "") {
break; /* NOTREACHED */
case "none":
case "mobile":
- return "0.0.0.0/0";
+ return '0.0.0.0/0';
break; /* NOTREACHED */
default:
if (empty($mode) && !empty($idinfo['mode']))
OpenPOWER on IntegriCloud