[FS#3876] uci network rule: The invert option is ignored when creating a routing rule

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sun Jun 13 05:32:33 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Robert (wiltedwalls) 

Attached to Project - OpenWrt/LEDE Project
Summary - uci network rule: The invert option is ignored when creating a routing rule
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - 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

 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3876

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list