Revision 6f2cc3a6
Added by Ermal LUÇI over 14 years ago
etc/inc/interfaces.inc | ||
---|---|---|
3235 | 3235 |
global $config; |
3236 | 3236 |
|
3237 | 3237 |
if (!empty($config['interfaces'][$friendly])) { |
3238 |
if (substr($friendly, 0, 5) == "ovpnc")
|
|
3238 |
if (substr($friendly, 0, 4) == "ovpnc")
|
|
3239 | 3239 |
return true; |
3240 | 3240 |
$ifname = &$config['interfaces'][$friendly]; |
3241 | 3241 |
switch ($ifname['ipaddr']) { |
Also available in: Unified diff
Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented.