Skip to content

Commit

Permalink
fixup! reforis: update to version 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
miska committed Dec 17, 2024
1 parent 4f473dd commit 426dc1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ wl_list_cb() {
local val="$1"
if echo "$val" | grep -q "^[0-9.]*$"; then
nft add element inet turris-sentinel dynfw_4_wl "{ $val }"
elif echo "$val" | grep -q "^[0-9a-fA-F/:]*$"; then
elif echo "$val" | grep -q "^[0-9a-fA-F:]*/*[0-9]*$"; then
nft add element inet turris-sentinel dynfw_6_wl "{ $val }"
else
echo "Invalid ip address $val" >&2
Expand Down
4 changes: 0 additions & 4 deletions collect/sentinel/sentinel-dynfw-c-client/files/uci-defaults
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ set -e
uci -q delete firewall.sentinel_dynfw_client || :
uci -q delete firewall.sentinel_dynfw_client_ipset || :


# Enable for default wan interface
config_firewall_default_enable "sentinel_dynfw"

# Always reload firewall to use latest version of sentinel-firewall script
/etc/init.d/firewall reload

0 comments on commit 426dc1f

Please sign in to comment.