]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
link-config: amend log message for failed application of settings
authorUlrich Ölmann <u.oelmann@pengutronix.de>
Wed, 13 Jan 2021 05:26:28 +0000 (06:26 +0100)
committerUlrich Ölmann <u.oelmann@pengutronix.de>
Wed, 13 Jan 2021 05:26:28 +0000 (06:26 +0100)
This has been forgotten in pull request #17628 ("udev: Add support to
configure Generic Segment Offload"), see [1].

[1] https://github.com/systemd/systemd/pull/17628

src/udev/net/link-config.c

index 95d456405025a6cacb424b36adace8f4d53a22de..4f22836d13f65a74bb29d51d6a8cb12ba5b1113d 100644 (file)
@@ -428,7 +428,8 @@ static int link_config_apply_rtnl_settings(sd_netlink **rtnl, const link_config
 
         r = rtnl_set_link_properties(rtnl, ifindex, config->alias, mac, config->mtu, config->gso_max_size, config->gso_max_segments);
         if (r < 0)
-                log_device_warning_errno(device, r, "Could not set Alias=, MACAddress= or MTU=, ignoring: %m");
+                log_device_warning_errno(device, r, "Could not set Alias=, MACAddress=, MTU=, GenericSegmentOffloadMaxBytes= "
+                                         "or GenericSegmentOffloadMaxSegments=, ignoring: %m");
 
         return 0;
 }