49fa466c51
- LXC improvements - S390 architecture improvements - Power architecture improvements - large Coverity report cleanups and associated bug fixes - virTypedParams* APIs to help with those data structures - libxenlight driver improvements - Drop upstream patches: 68e7bc45-libxl-link-fix.patch, 462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch, 5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch, 66ff2ddc-virtlockd-systemd-file-perms.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=242
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
Index: libvirt-1.0.2/src/util/virnetdev.c
|
|
===================================================================
|
|
--- libvirt-1.0.2.orig/src/util/virnetdev.c
|
|
+++ libvirt-1.0.2/src/util/virnetdev.c
|
|
@@ -81,7 +81,7 @@ static int virNetDevSetupControlFull(con
|
|
static int virNetDevSetupControl(const char *ifname,
|
|
struct ifreq *ifr)
|
|
{
|
|
- return virNetDevSetupControlFull(ifname, ifr, AF_PACKET, SOCK_DGRAM);
|
|
+ return virNetDevSetupControlFull(ifname, ifr, AF_INET, SOCK_STREAM);
|
|
}
|
|
#endif
|
|
|
|
Index: libvirt-1.0.2/src/util/virnetdevbridge.c
|
|
===================================================================
|
|
--- libvirt-1.0.2.orig/src/util/virnetdevbridge.c
|
|
+++ libvirt-1.0.2/src/util/virnetdevbridge.c
|
|
@@ -85,7 +85,7 @@ static int virNetDevSetupControlFull(con
|
|
static int virNetDevSetupControl(const char *ifname,
|
|
struct ifreq *ifr)
|
|
{
|
|
- return virNetDevSetupControlFull(ifname, ifr, AF_PACKET, SOCK_DGRAM);
|
|
+ return virNetDevSetupControlFull(ifname, ifr, AF_INET, SOCK_STREAM);
|
|
}
|
|
#endif
|
|
|