Commit d543b13 1 parent 4f81400 commit d543b13 Copy full SHA for d543b13
File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,7 @@ LUCI_TITLE:=LuCI for Tailscale
8
8
LUCI_DEPENDS: =+tailscale
9
9
LUCI_PKGARCH: =all
10
10
11
- PKG_VERSION: =1.2.2
12
-
13
- define Package/luci-app-tailscale/conffiles
14
- /etc/config/tailscale
15
- endef
11
+ PKG_VERSION: =1.2.3
16
12
17
13
include $(TOPDIR ) /feeds/luci/luci.mk
18
14
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ custom_instance() {
107
107
config_get subnetRoutes $cfg ' subnetRoutes'
108
108
if [ -n " $subnetRoutes " ]; then
109
109
i=1
110
- lan_ip =$( uci get network.lan.ipaddr )
110
+ ts_ip =$( tailscale ip -4 )
111
111
for route in $subnetRoutes ; do
112
112
uci set network.ts_subnet$i =' route'
113
- uci set network.ts_subnet$i .interface=' lan '
113
+ uci set network.ts_subnet$i .interface=' tailscale '
114
114
uci set network.ts_subnet$i .target=$route
115
- uci set network.ts_subnet$i .gateway=$lan_ip
115
+ uci set network.ts_subnet$i .gateway=$ts_ip
116
116
let i++
117
117
done
118
118
else
You can’t perform that action at this time.
0 commit comments