From c822154cf0879ee88c20220706485096e3b5e48c Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 18 Dec 2012 09:38:36 -0500 Subject: Make gateways for assigned OpenVPN servers as well as clients. --- etc/inc/gwlb.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc/gwlb.inc') 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; } -- cgit v1.1