2013-01-30 19:45:29 +01:00
|
|
|
Index: libvirt-1.0.2/src/util/virnetdev.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2013-01-30 19:45:29 +01:00
|
|
|
--- libvirt-1.0.2.orig/src/util/virnetdev.c
|
|
|
|
+++ libvirt-1.0.2/src/util/virnetdev.c
|
2012-09-26 00:22:08 +02:00
|
|
|
@@ -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
|
|
|
|
|
2013-01-30 19:45:29 +01:00
|
|
|
Index: libvirt-1.0.2/src/util/virnetdevbridge.c
|
2011-12-15 02:23:04 +01:00
|
|
|
===================================================================
|
2013-01-30 19:45:29 +01:00
|
|
|
--- 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
|
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
|
|
|
|
|