Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sensec committed Jan 22, 2018
1 parent 1c9c342 commit 446375c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-udp2raw
PKG_VERSION:=1.0.0
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE
Expand Down
4 changes: 0 additions & 4 deletions files/luci/model/cbi/udp2raw/servers-details.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,9 @@ for _, v in ipairs(auth_modes) do o:value(v, v:lower()) end
o.default = "md5"

o = s:option(Flag, "auto_rule", translate("Auto Rule"), translate("Auto add (and delete) iptables rule."))
o.enabled = "1"
o.disabled = "0"
o.default = "1"

o = s:option(Flag, "keep_rule", translate("Keep Rule"), translate("Monitor iptables and auto re-add if necessary."))
o.enabled = "1"
o.disabled = "0"
o:depends("auto_rule", "1")

o = s:option(Value, "seq_mode", translate("seq Mode"), translate("seq increase mode for faketcp."))
Expand Down
2 changes: 1 addition & 1 deletion files/root/etc/uci-defaults/luci-udp2raw
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
if [ "$general"x != "general"x ]; then
uci -q batch <<-EOF > /dev/null
rename udp2raw.@general[-1]="general"
set udp2raw.general.server="nil"
set udp2raw.@general[-1].server="nil"
commit udp2raw
EOF
fi
Expand Down

0 comments on commit 446375c

Please sign in to comment.