2012-01-09 23:51:36 +01:00
|
|
|
Index: libvirt-0.9.9/src/util/virnetdev.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2012-01-09 23:51:36 +01:00
|
|
|
--- libvirt-0.9.9.orig/src/util/virnetdev.c
|
|
|
|
+++ libvirt-0.9.9/src/util/virnetdev.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
|
|
|
|
|
2012-01-09 23:51:36 +01:00
|
|
|
Index: libvirt-0.9.9/src/util/virnetdevbridge.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2012-01-09 23:51:36 +01:00
|
|
|
--- libvirt-0.9.9.orig/src/util/virnetdevbridge.c
|
|
|
|
+++ libvirt-0.9.9/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
|
|
|
|
|