Qos over nftables small issue

Well, I found the bug in nft-qos. It uses an old syntax when checking for the presence of a bridge device.

Here's the quick and dirty fix:

  1. Open /lib/nft-qos/core.sh and on line 9 change NFT_QOS_HAS_BRIDGE= to NFT_QOS_HAS_BRIDGE=y.

  2. Verify that kmod-nft-bridge is installed.

opkg update; opkg install kmod-nft-bridge
  1. Reboot the device.

Now rate limiting by MAC should work in both directions.

3 Likes