diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm
index 4e0829df6..c48fc1f70 100644
--- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm
+++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm
@@ -531,7 +531,7 @@
<%
end
end
- if iffinf == 0 and uci:get("network",ifname,"ifname") ~= nil then
+ if iffind == 0 and uci:get("network",ifname,"ifname") ~= nil then
%>
<%
@@ -589,7 +589,7 @@
<%
end
- if iffinf == 0 and uci:get("network",ifname,"device") ~= nil then
+ if iffind == 0 and uci:get("network",ifname,"device") ~= nil then
%>
<%
@@ -610,7 +610,7 @@
<%
end
- if iffinf == 0 and uci:get("network",ifname,"device") ~= nil then
+ if iffind == 0 and uci:get("network",ifname,"device") ~= nil then
%>
<%
@@ -636,7 +636,7 @@
<%
end
end
- if iffinf == 0 and uci:get("network",ifname,"device") ~= nil then
+ if iffind == 0 and uci:get("network",ifname,"device") ~= nil then
%>
<%