interface-ip: allow configuring routes without explicit interface
authorJo-Philipp Wich <jo@mein.io>
Thu, 24 Aug 2023 12:43:31 +0000 (14:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 8 Nov 2023 08:49:57 +0000 (09:49 +0100)
commit5c2e5d5ea4e0dd9a0ed66154d818b96bf81664f4
treec21f438027e4922a734d092826c2b9cdc4563284
parent76eb342c397a90feb77b54be2706fa9ff61637f1
interface-ip: allow configuring routes without explicit interface

Support the configuration of network routes not bound to any specific
interface. In case such a route is configured, it will be internally
owned by the loopback interface and have a new DEVROUTE_NODEV flag
set to inhibit the RTA_OIF attribute when installing the kernel route.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
interface-ip.c
interface-ip.h
system-linux.c