From: Yu Watanabe Date: Fri, 19 Jan 2024 11:07:17 +0000 (+0900) Subject: local-addresses: RTA_OIF and RTA_MULTIPATH are exclusive X-Git-Tag: v256-rc1~1074^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1305fe4ecfa858ef4ecd374db863407e8e95491e;p=thirdparty%2Fsystemd.git local-addresses: RTA_OIF and RTA_MULTIPATH are exclusive --- diff --git a/src/shared/local-addresses.c b/src/shared/local-addresses.c index 6fc54b7baba..0c27814b619 100644 --- a/src/shared/local-addresses.c +++ b/src/shared/local-addresses.c @@ -338,9 +338,10 @@ int local_gateways( r = add_local_gateway(&list, &n_list, af, ifi, priority, &via); if (r < 0) return r; - - continue; } + + /* If the route has RTA_OIF, it does not have RTA_MULTIPATH. */ + continue; } size_t rta_len;