mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix typo
This commit is contained in:
parent
fc623a5036
commit
97abaf3d32
1 changed files with 3 additions and 3 deletions
|
@ -1197,11 +1197,11 @@ function settings_add()
|
||||||
ucic:set("firewall",section[".name"],"auto_helper",sipalg)
|
ucic:set("firewall",section[".name"],"auto_helper",sipalg)
|
||||||
end)
|
end)
|
||||||
if sipalg == "1" then
|
if sipalg == "1" then
|
||||||
luci.sys.call("modprobe nf_conntrack_ip >/dev/null 2>/dev/null")
|
luci.sys.call("modprobe -q nf_conntrack_sip >/dev/null 2>/dev/null")
|
||||||
luci.sys.call("modprobe nf_nat_sip >/dev/null 2>/dev/null")
|
luci.sys.call("modprobe -q nf_nat_sip >/dev/null 2>/dev/null")
|
||||||
else
|
else
|
||||||
luci.sys.call("rmmod nf_nat_sip >/dev/null 2>/dev/null")
|
luci.sys.call("rmmod nf_nat_sip >/dev/null 2>/dev/null")
|
||||||
luci.sys.call("rmmod nf_conntrack_ip >/dev/null 2>/dev/null")
|
luci.sys.call("rmmod nf_conntrack_sip >/dev/null 2>/dev/null")
|
||||||
end
|
end
|
||||||
|
|
||||||
ucic:save("openmptcprouter")
|
ucic:save("openmptcprouter")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue