Skip to content

Commit f419be7

Browse files
authored
fix(flashstart): reverted rebind_protection logic (#1285)
1 parent 8bfe72a commit f419be7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/ns-flashstart/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=ns-flashstart
9-
PKG_VERSION:=1.0.0
9+
PKG_VERSION:=1.0.1
1010
PKG_RELEASE:=1
1111

1212
PKG_BUILD_DIR:=$(BUILD_DIR)/ns-flashstart-$(PKG_VERSION)

packages/ns-flashstart/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ reload_config
4242

4343
## DNS server customization
4444

45-
You can disable `rebind_protection` or enable `logqueries` options for the DNS servers by setting the variables in the
45+
You can enable `rebind_protection` or enable `logqueries` options for the DNS servers by setting the variables in the
4646
`flashstart.global` section:
4747

4848
```
49-
uci set flashstart.global.rebind_protection="0"
49+
uci set flashstart.global.rebind_protection="1"
5050
uci set flashstart.global.logqueries="1"
5151
uci commit flashstart
5252
reload_config

packages/ns-flashstart/files/ns-flashstart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def __sync_pro_profiles():
214214

215215
def __add_profile(port, profile):
216216
query_logging = e_uci.get('flashstart', 'global', 'logqueries', default=False, dtype=bool)
217-
rebind_protection = e_uci.get('flashstart', 'global', 'rebind_protection', default=True, dtype=bool)
217+
rebind_protection = e_uci.get('flashstart', 'global', 'rebind_protection', default=False, dtype=bool)
218218
if e_uci.get('dhcp', profile['id'], default=None) is None:
219219
logging.info(f'New profile found {profile["name"]}, creating instance {profile["id"]}.')
220220
e_uci.set('dhcp', profile['id'], 'dnsmasq')

0 commit comments

Comments
 (0)