From: Andris PE Date: Mon, 18 May 2026 18:00:25 +0000 (+0000) Subject: simple-captive-portal: order nft chains predictably X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=737c40fbb97ae0ee71d15c1da182325899ded18e;p=openwrt-packages.git simple-captive-portal: order nft chains predictably Adjust simple-captive-portal firewall chain priority to apply before default chain deterministically Signed-off-by: Andris PE --- diff --git a/net/simple-captive-portal/Makefile b/net/simple-captive-portal/Makefile index 0788fb124..2574feee9 100644 --- a/net/simple-captive-portal/Makefile +++ b/net/simple-captive-portal/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=simple-captive-portal PKG_VERSION:=2025.06.22 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Etienne CHAMPETIER PKG_LICENSE:=GPL-2.0-or-later diff --git a/net/simple-captive-portal/files/etc/init.d/simple-captive-portal b/net/simple-captive-portal/files/etc/init.d/simple-captive-portal index 3980983aa..77cfba0f6 100644 --- a/net/simple-captive-portal/files/etc/init.d/simple-captive-portal +++ b/net/simple-captive-portal/files/etc/init.d/simple-captive-portal @@ -21,7 +21,7 @@ table inet simple-captive-portal { } chain prerouting { - type nat hook prerouting priority mangle; policy drop; + type nat hook prerouting priority mangle - 5; policy drop; iif != ${INTF} accept ether saddr @guest_macs accept tcp dport 80 redirect to ${PORT_REDIRECT}