更新
This commit is contained in:
parent
e50b4b3e97
commit
275f525034
@ -29,7 +29,7 @@ o.description = translate("Enable the manual configuration of modem information"
|
||||
-- 启用网络接口别名
|
||||
o = s:option(Flag, "network_interface_alias", translate("Network Interface Alias"))
|
||||
o.rmempty = false
|
||||
o.description = translate("Enable network interfaces with alias names")
|
||||
o.description = translate("Enable automatic creation of alias network interface")
|
||||
|
||||
-- 配置模组信息
|
||||
s = m:section(TypedSection, "modem-device", translate("Modem Config"))
|
||||
|
@ -589,8 +589,8 @@ msgstr "(启用后将禁用自动扫描并配置模组信息功能)"
|
||||
msgid "Network Interface Alias"
|
||||
msgstr "网络接口别名"
|
||||
|
||||
msgid "Enable network interfaces with alias names"
|
||||
msgstr "启用网络接口为别名形式"
|
||||
msgid "Enable automatic creation of alias network interface"
|
||||
msgstr "启用自动创建别名网络接口"
|
||||
|
||||
msgid "Not null"
|
||||
msgstr "不能为空"
|
||||
|
@ -180,7 +180,7 @@ set_ipv4v6_interface()
|
||||
|
||||
#设置IPV6网络接口
|
||||
local network_interface_alias=$(uci -q get modem.@global[0].network_interface_alias)
|
||||
case $pdp_type in
|
||||
case $network_interface_alias in
|
||||
"0") set_ipv6_interface "${ipv6_interface_name}" "${network_interface}" ;;
|
||||
"1") set_ipv6_interface "${ipv6_interface_name}" "@${ipv4_interface_name}" ;; #别名
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user