]> xenbits.xensource.com Git - libvirt.git/commitdiff
Revert "util: support setting peer for virNetDevIPInfo addresses"
authorJán Tomko <jtomko@redhat.com>
Mon, 27 Jun 2016 09:56:17 +0000 (11:56 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 27 Jun 2016 10:54:55 +0000 (12:54 +0200)
This reverts commit cb20f989df393ec97ba65afb06089d0ab87af484.

This feature was accidentally pushed in the feature freeze.

src/util/virnetdevip.c

index f8b04e42bbe5e56fe4b9892b2e774512485be72f..cae566af0d52422c30d11ef0d8651852e696fae8 100644 (file)
@@ -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);
     }