network/route: do not invalidate [Route] section when an empty string is assigned to MultiPathRoute=

This commit is contained in:
Yu Watanabe
2024-01-06 05:23:06 +09:00
parent bea3db2ff9
commit d2bec2426f

View File

@@ -2905,6 +2905,7 @@ int config_parse_multipath_route(
if (isempty(rvalue)) {
n->multipath_routes = ordered_set_free_with_destructor(n->multipath_routes, multipath_route_free);
TAKE_PTR(n);
return 0;
}