提交 99a6f30d 编写于 作者: J Ján Tomko

leaseshelper: swap two parameters of virLeaseNew

My commit e11aa749 messed up the parameter order.

Reported by John Ferlan.
上级 6951ab68
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册