mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Fix lan interface if bridge is used
This commit is contained in:
parent
1475c55343
commit
16ff5e6ab2
1 changed files with 6 additions and 0 deletions
|
@ -380,6 +380,9 @@ end
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
if uci:get("network",ifname,"type") ~= "bridge" then
|
||||
%>
|
||||
<div class="cbi-value" id="cbi-network-<%=ifname%>-intf" data-depends="[{"cbid.network.<%=ifname%>.proto":"static"},{"cbid.network.<%=ifname%>.proto":"dhcp"}]" data-index="4">
|
||||
<label class="cbi-value-title"><%:Physical interface%></label>
|
||||
<div class="cbi-value-field">
|
||||
|
@ -406,6 +409,9 @@ end
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
end
|
||||
%>
|
||||
<div class="cbi-value" id="cbi-network-<%=ifname%>-address" data-depends="[{"cbid.network.<%=ifname%>.proto":"static"},{"cbid.network.<%=ifname%>.type":"macvlan"}]" data-index="5">
|
||||
<label class="cbi-value-title"><%:IPv4 address%></label>
|
||||
<div class="cbi-value-field">
|
||||
|
|
Loading…
Reference in a new issue