diff options
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 652db9e..be5361c 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2347,7 +2347,7 @@ function get_real_interface($interface = "wan") { if($config['interfaces'][$if]['serialport']) { $dev = $config['interfaces'][$if]['serialport']; if(file_exists("/var/run/{$dev}.if")) { - $wanif = trim(file_get_contents("/var/run/{$dev}.if")); + $wanif = trim(file_get_contents("/var/run/{$dev}.if")); break; } else { $wanif = $dev; |