network/route-nexthop: use RTA_MULTIPATH when weight is not zero
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 13 Jan 2024 04:49:24 +0000 (13:49 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Jan 2024 01:13:44 +0000 (10:13 +0900)
commit406fde1a4d87eb43cbec0b86213bf78b02595c6b
tree78391961e14ee9a8f79be5eddbb9a5ada77b4a63
parent4054e8128e4957f9fde783889485051ec5560d60
network/route-nexthop: use RTA_MULTIPATH when weight is not zero

As we have no way to specify the weight of gateway without using
RTA_MULTIPATH.
src/network/networkd-route-nexthop.c