forked from pool/libvirt
f38c7dff24
- virNodeGetCPUMap: Define public API - Add systemd journal support - Add a qemu capabilities cache manager - USB migration support - various improvement and fixes when using QMP QEmu interface - Support for Xen 4.2 in legacy xen driver - Lot of localization enhancements OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=237
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
Index: libvirt-1.0.0/src/util/virnetdev.c
|
|
===================================================================
|
|
--- libvirt-1.0.0.orig/src/util/virnetdev.c
|
|
+++ libvirt-1.0.0/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.0/src/util/virnetdevbridge.c
|
|
===================================================================
|
|
--- libvirt-1.0.0.orig/src/util/virnetdevbridge.c
|
|
+++ libvirt-1.0.0/src/util/virnetdevbridge.c
|
|
@@ -84,7 +84,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
|
|
|