fff-web-ui: fix port selection for TWO_PORT devices #259
|
@ -188,7 +188,7 @@ format_port() {
|
|||
</fieldset>
|
||||
</td></tr>
|
||||
<% fi %>
|
||||
<% if grep -q "LAN0PORT" "/etc/network.$board_name" || grep -q "LAN1PORT" "/etc/network.$board_name" ; then %>
|
||||
<% if grep -q "TWO_PORT" "/etc/network.$board_name" ; then %>
|
||||
<%
|
||||
# Device has two ports
|
||||
. /etc/network.mode
|
||||
|
|
Loading…
Reference in New Issue