mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
leaseshelper: swap two parameters of virLeaseNew
My commit e11aa74 messed up the parameter order. Reported by John Ferlan.
This commit is contained in:
parent
6951ab6881
commit
99a6f30db0
@ -462,7 +462,7 @@ main(int argc, char **argv)
|
||||
case VIR_LEASE_ACTION_ADD:
|
||||
case VIR_LEASE_ACTION_OLD:
|
||||
/* Create new lease */
|
||||
if (virLeaseNew(&lease_new, mac, clientid, ip, hostname, server_duid, iaid) < 0)
|
||||
if (virLeaseNew(&lease_new, mac, clientid, ip, hostname, iaid, server_duid) < 0)
|
||||
goto cleanup;
|
||||
/* Custom ipv6 leases *will not* be created if the env-var DNSMASQ_MAC
|
||||
* is not set. In the special case, when the $(interface).status file
|
||||
|
Loading…
x
Reference in New Issue
Block a user