diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-06 22:51:13 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-06 22:54:37 +0100 |
commit | 9b182b0801760aed00b66a4036758340404a4877 (patch) | |
tree | 38706c80e563568451bac641911674ab6b35e0a9 /etc/inc/ipsec.inc | |
parent | c8d87d2aa9e18237271f129be8d2d65480f7735d (diff) | |
download | pfsense-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.inc | 2 |
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'])) |