fff-web-ui: fix port selection for TWO_PORT devices #259

Closed
fbl wants to merge 1 commits from fbl:twoport-webui into master
1 changed files with 1 additions and 1 deletions

View File

@ -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