diff --git a/net/simple-captive-portal/Makefile b/net/simple-captive-portal/Makefile index 2574feee9d..48822c6c4e 100644 --- a/net/simple-captive-portal/Makefile +++ b/net/simple-captive-portal/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=simple-captive-portal -PKG_VERSION:=2025.06.22 -PKG_RELEASE:=2 +PKG_VERSION:=2026.08.06 +PKG_RELEASE:=1 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 77cfba0f60..85fffd1eb7 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 @@ -4,11 +4,12 @@ USE_PROCD=1 EXTRA_COMMANDS='firewall' firewall() { - local INTF PORT_REDIRECT TIMEOUT + local INTF PORT_REDIRECT PORT_PORTAL TIMEOUT config_load "simple-captive-portal" config_get INTF main interface [ -z "${INTF}" ] && exit 0 config_get PORT_REDIRECT main port_redirect 8888 + config_get PORT_PORTAL main port_portal 8889 config_get TIMEOUT main timeout 86400 /usr/sbin/nft -f- <