diff options
author | Ermal <eri@pfsense.org> | 2010-11-09 23:37:02 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-09 23:37:02 +0000 |
commit | 6f2cc3a680f984ccbb387301a26d022e6969e665 (patch) | |
tree | 09284469e08a260c7cbfb7a70cb7dd45289296b9 /etc/inc/interfaces.inc | |
parent | 7673cdb5124ed1bcf355d120207fd3c908213050 (diff) | |
download | pfsense-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.inc | 2 |
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']) { |