mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 06:30:30 +00:00
link: fix offload features initialization (#4639)
This commit is contained in:
committed by
Lennart Poettering
parent
1f8c78a1ba
commit
45d34fa7fb
@@ -169,7 +169,7 @@ static int load_link(link_config_ctx *ctx, const char *filename) {
|
||||
link->duplex = _DUP_INVALID;
|
||||
link->autonegotiation = -1;
|
||||
|
||||
memset(&link->features, -1, _NET_DEV_FEAT_MAX);
|
||||
memset(&link->features, -1, sizeof(link->features));
|
||||
|
||||
r = config_parse(NULL, filename, file,
|
||||
"Match\0Link\0Ethernet\0",
|
||||
|
||||
Reference in New Issue
Block a user