mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
link-config: amend log message for failed application of settings
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
This commit is contained in:
parent
537ae584c8
commit
42e15a6f1a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user