mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-04-28 03:20:35 +00:00
fix: update kernel module check for Keenetic platform to use nft functionality
This commit is contained in:
parent
ca4aca6823
commit
4dc521502e
1 changed files with 1 additions and 1 deletions
|
|
@ -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'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue