leaseshelper: swap two parameters of virLeaseNew

My commit e11aa74 messed up the parameter order.

Reported by John Ferlan.
This commit is contained in:
Ján Tomko 2016-02-09 13:13:51 +01:00
parent 6951ab6881
commit 99a6f30db0

View File

@ -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