Re: [OpenWrt-Devel] [PATCH][v3] iprule: rework interface based rules to handle dynamic interfaces

2018-06-30 Thread Hans Dedecker
On Fri, Jun 29, 2018 at 11:15 PM Alexander Couzens wrote: > > Previous netifd would only apply `ip rule`s while config phase. > If the iprule is depending on an interface (iif or oif), the rule > will fail if the interface is not up. > > Allow iprules to track interfaces and their devices by

[OpenWrt-Devel] [PATCH][v3] iprule: rework interface based rules to handle dynamic interfaces

2018-06-29 Thread Alexander Couzens
Previous netifd would only apply `ip rule`s while config phase. If the iprule is depending on an interface (iif or oif), the rule will fail if the interface is not up. Allow iprules to track interfaces and their devices by using the interface events. Fixes: FS#1571 Signed-off-by: Alexander