ethtool-util: make ethtool_set_wol() take password

This commit is contained in:
Yu Watanabe
2021-10-06 21:57:14 +09:00
parent 20274ab86a
commit 9bd3ecdd8d
3 changed files with 34 additions and 7 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ static int link_config_apply_ethtool_settings(int *ethtool_fd, const LinkConfig
port_to_string(config->port));
}
r = ethtool_set_wol(ethtool_fd, name, config->wol);
r = ethtool_set_wol(ethtool_fd, name, config->wol, NULL);
if (r < 0) {
_cleanup_free_ char *str = NULL;