Merge "Fix dhcp_release when client_id is specified" into stable/victoria

This commit is contained in:
Zuul 2020-10-06 08:53:50 +00:00 committed by Gerrit Code Review
commit 74f9dad482
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def dhcp_release(interface_name, ip_address, mac_address, client_id,
cmd += ['ip', 'netns', 'exec', namespace]
cmd += ['dhcp_release', interface_name, ip_address, mac_address]
if client_id:
cmd += client_id
cmd.append(client_id)
log_errors = processutils.LOG_FINAL_ERROR
return processutils.execute(*cmd, log_errors=log_errors)