summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-09 23:37:02 +0000
committerErmal <eri@pfsense.org>2010-11-09 23:37:02 +0000
commit6f2cc3a680f984ccbb387301a26d022e6969e665 (patch)
tree09284469e08a260c7cbfb7a70cb7dd45289296b9 /etc/inc/interfaces.inc
parent7673cdb5124ed1bcf355d120207fd3c908213050 (diff)
downloadpfsense-6f2cc3a680f984ccbb387301a26d022e6969e665.zip
pfsense-6f2cc3a680f984ccbb387301a26d022e6969e665.tar.gz
Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 273d7e9..37431bb 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3235,7 +3235,7 @@ function interface_has_gateway($friendly) {
global $config;
if (!empty($config['interfaces'][$friendly])) {
- if (substr($friendly, 0, 5) == "ovpnc")
+ if (substr($friendly, 0, 4) == "ovpnc")
return true;
$ifname = &$config['interfaces'][$friendly];
switch ($ifname['ipaddr']) {
OpenPOWER on IntegriCloud