From: Yu Watanabe Date: Fri, 5 Jan 2024 20:23:06 +0000 (+0900) Subject: network/route: do not invalidate [Route] section when an empty string is assigned... X-Git-Tag: v256-rc1~1247^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2bec2426fa938fc12f8a679341cae48241ff512;p=thirdparty%2Fsystemd.git network/route: do not invalidate [Route] section when an empty string is assigned to MultiPathRoute= --- diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index abaea4e6c3f..0d2765ccf87 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -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; }