summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-12-18 09:38:36 -0500
committerjim-p <jimp@pfsense.org>2012-12-18 09:42:17 -0500
commitc822154cf0879ee88c20220706485096e3b5e48c (patch)
treef1e0dfeeeca6072f955b98dfcc36378da03a4486 /etc/inc/gwlb.inc
parentc65c3a5d54d060578dc785a8d83c170693836210 (diff)
downloadpfsense-c822154cf0879ee88c20220706485096e3b5e48c.zip
pfsense-c822154cf0879ee88c20220706485096e3b5e48c.tar.gz
Make gateways for assigned OpenVPN servers as well as clients.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 173a185..3dc7e2b 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -522,7 +522,7 @@ function return_gateways_array($disabled = false, $localhost = false) {
$ctype = strtoupper($ifcfg['ipaddr']);
break;
default:
- if (substr($ifcfg['if'], 0, 5) == "ovpnc")
+ if (substr($ifcfg['if'], 0, 4) == "ovpn")
$ctype = "VPNv4";
break;
}
@@ -588,7 +588,7 @@ function return_gateways_array($disabled = false, $localhost = false) {
$ctype = strtoupper($ifcfg['ipaddrv6']);
break;
default:
- if (substr($ifcfg['if'], 0, 5) == "ovpnc")
+ if (substr($ifcfg['if'], 0, 4) == "ovpn")
$ctype = "VPNv6";
break;
}
OpenPOWER on IntegriCloud