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

Revert "util: support setting peer for virNetDevIPInfo addresses"

This reverts commit cb20f989.

This feature was accidentally pushed in the feature freeze.
上级 1549f168
...@@ -919,7 +919,7 @@ virNetDevIPInfoAddToDev(const char *ifname, ...@@ -919,7 +919,7 @@ virNetDevIPInfoAddToDev(const char *ifname,
ipStr); ipStr);
goto cleanup; goto cleanup;
} }
if (virNetDevIPAddrAdd(ifname, &ip->address, &ip->peer, prefix) < 0) if (virNetDevIPAddrAdd(ifname, &ip->address, NULL, prefix) < 0)
goto cleanup; goto cleanup;
VIR_FREE(ipStr); VIR_FREE(ipStr);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册