You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The invert tag is ignored when creating uci network rule in 21.02.0-rc2.
uci set network.unmarkedThroughTable=rule
uci set network.unmarkedThroughTable.mark="0x888"
uci set network.unmarkedThroughTable.invert='1'
uci set network.unmarkedThroughTable.lookup='200'
After this definition, ip rule list from the command line shows
1: from all fwmark 0x888 lookup 200 (21.02.0-rc2)
instead of the correct
1: not from all fwmark 0x888 lookup 200 (19.07.7)
Jo-Philipp Wich pointed out that the "ip rule" built into busybox does not accept/display the "not" switch. When I install ip-tiny and display using that, I can see the
"not" is happening at the right place.
wiltedwalls:
The invert tag is ignored when creating uci network rule in 21.02.0-rc2.
uci set network.unmarkedThroughTable=rule
uci set network.unmarkedThroughTable.mark="0x888"
uci set network.unmarkedThroughTable.invert='1'
uci set network.unmarkedThroughTable.lookup='200'
After this definition, ip rule list from the command line shows
1: from all fwmark 0x888 lookup 200 (21.02.0-rc2)
instead of the correct
1: not from all fwmark 0x888 lookup 200 (19.07.7)
This worked fine in 19.07
https://openwrt.org/docs/guide-user/network/ip_rules#options_for_ip_rule_rule_and_rule6_sections
The text was updated successfully, but these errors were encountered: