2012-09-26 00:22:08 +02:00
|
|
|
Index: libvirt-0.10.2/src/util/virnetdev.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2012-09-26 00:22:08 +02:00
|
|
|
--- libvirt-0.10.2.orig/src/util/virnetdev.c
|
|
|
|
+++ libvirt-0.10.2/src/util/virnetdev.c
|
|
|
|
@@ -81,7 +81,7 @@ static int virNetDevSetupControlFull(con
|
2011-12-15 02:23:04 +01:00
|
|
|
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
|
|
|
|
|
2012-09-26 00:22:08 +02:00
|
|
|
Index: libvirt-0.10.2/src/util/virnetdevbridge.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2012-09-26 00:22:08 +02:00
|
|
|
--- libvirt-0.10.2.orig/src/util/virnetdevbridge.c
|
|
|
|
+++ libvirt-0.10.2/src/util/virnetdevbridge.c
|
2011-12-15 02:23:04 +01:00
|
|
|
@@ -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
|
|
|
|
|