network: configure nexthop before routes that requires gateway
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 4 Feb 2021 14:13:08 +0000 (23:13 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Feb 2021 07:34:12 +0000 (08:34 +0100)
commitf345918d8d2a50a7bd071cf2ed864ac5cc909467
tree1ca9dda1d2a155e1477899541066ea299bab65ae
parentb480543cf0b1386e52a0461d2d661429399f80e5
network: configure nexthop before routes that requires gateway

This is a preparation for later commits. When RTA_NH_ID is set to a
route, then the corresponding nexthop must be exist.
src/network/networkd-nexthop.c
src/network/networkd-nexthop.h
src/network/networkd-route.c
src/network/networkd-route.h