mirror of https://gitee.com/openkylin/libvirt.git
Revert "util: support setting peer for virNetDevIPInfo addresses"
This reverts commit cb20f989df
.
This feature was accidentally pushed in the feature freeze.
This commit is contained in:
parent
1549f16832
commit
cba06aea8d
|
@ -919,7 +919,7 @@ virNetDevIPInfoAddToDev(const char *ifname,
|
|||
ipStr);
|
||||
goto cleanup;
|
||||
}
|
||||
if (virNetDevIPAddrAdd(ifname, &ip->address, &ip->peer, prefix) < 0)
|
||||
if (virNetDevIPAddrAdd(ifname, &ip->address, NULL, prefix) < 0)
|
||||
goto cleanup;
|
||||
VIR_FREE(ipStr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue