From 4dc521502e0f3dc97a56f44a17f29186e2022e8a Mon Sep 17 00:00:00 2001 From: Daniel Lavrushin Date: Thu, 23 Apr 2026 14:11:26 +0200 Subject: [PATCH] fix: update kernel module check for Keenetic platform to use nft functionality --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 21b3677..4d99ec9 100755 --- a/install.sh +++ b/install.sh @@ -1100,7 +1100,7 @@ _keenetic_load_kmods() { log_info "You may need to enable 'Kernel modules for Netfilter' in the package manager" fi - if ! _kmod_available "xt_connbytes" && ! _kmod_available "nf_tables"; then + if ! _kmod_available "xt_connbytes" && ! _nft_functional; then log_warn "xt_connbytes kernel module not available — b4 will fail to start on iptables" log_info "Enable it via router web UI: System settings > Component options" log_info " look for 'Netfilter kernel modules' / 'xtables-addons' / 'Connection tracking extensions'"