interface-ip: add support for excluding interfaces in host route lookup
authorFelix Fietkau <nbd@nbd.name>
Thu, 19 May 2022 15:21:23 +0000 (17:21 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 19 May 2022 15:21:24 +0000 (17:21 +0200)
commit507c0513d1766757d969530c51fe7d368354538d
tree21aa6169dacb0e913139a7409672f7342670078d
parent4b4849cf5e5a784aca40be55158744811b172e76
interface-ip: add support for excluding interfaces in host route lookup

When adding host routes needed for an interface to communicate, it may be
necessary to skip the interface itself, in case it provides a default route.
This helps with avoiding accidental loops

Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface-ip.c
interface-ip.h
proto-shell.c
ubus.c