local-addresses: RTA_OIF and RTA_MULTIPATH are exclusive

This commit is contained in:
Yu Watanabe
2024-01-20 16:07:19 +09:00
parent 4019bec852
commit 1305fe4ecf
+3 -2
View File
@@ -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;