[PATCH 3/6] Revert "util: support setting peer for virNetDevIPInfo addresses"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This reverts commit cb20f989df393ec97ba65afb06089d0ab87af484.

This feature was accidentally pushed in the feature freeze.
---
 src/util/virnetdevip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virnetdevip.c b/src/util/virnetdevip.c
index f8b04e4..cae566a 100644
--- a/src/util/virnetdevip.c
+++ b/src/util/virnetdevip.c
@@ -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);
     }
-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]