2012-04-12 23:33:51 +02:00
|
|
|
Index: libvirt-0.9.11/src/util/virnetdev.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2012-04-12 23:33:51 +02:00
|
|
|
--- libvirt-0.9.11.orig/src/util/virnetdev.c
|
|
|
|
+++ libvirt-0.9.11/src/util/virnetdev.c
|
2012-02-15 20:01:07 +01:00
|
|
|
@@ -85,7 +85,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-04-12 23:33:51 +02:00
|
|
|
Index: libvirt-0.9.11/src/util/virnetdevbridge.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2012-04-12 23:33:51 +02:00
|
|
|
--- libvirt-0.9.11.orig/src/util/virnetdevbridge.c
|
|
|
|
+++ libvirt-0.9.11/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
|
|
|
|
|