summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-07-12 20:21:00 +0000
committerDan Williams <dcbw@redhat.com>2007-07-12 20:21:00 +0000
commit4f23716252fdeb9c4b2db91a7655498cace42bc3 (patch)
treee705ddce9b9ae0ab103535fdbc6406da15457747
parentdbf3fbf0801a807a0a9c1bf238c2fd41c2ce2f14 (diff)
downloadNetworkManager-4f23716252fdeb9c4b2db91a7655498cace42bc3.tar.gz
2007-07-12 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-mesh-olpc.c - (real_activation_success_handler): set an explicit ipv4 multicast route when in peer-to-peer mesh mode, otherwise multicast traffic can't go anywhere git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/branches/nm-0-6-olpc@2634 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-rw-r--r--ChangeLog7
-rw-r--r--src/nm-device-802-11-mesh-olpc.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d719394c24..ac9d11429e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-07-12 Dan Williams <dcbw@redhat.com>
+ * src/nm-device-802-11-mesh-olpc.c
+ - (real_activation_success_handler): set an explicit ipv4 multicast
+ route when in peer-to-peer mesh mode, otherwise multicast traffic
+ can't go anywhere
+
+2007-07-12 Dan Williams <dcbw@redhat.com>
+
* src/backends/NetworkManagerRedHat.c
- Handle out-of-memory conditions better
diff --git a/src/nm-device-802-11-mesh-olpc.c b/src/nm-device-802-11-mesh-olpc.c
index 9888569794..3bd7141564 100644
--- a/src/nm-device-802-11-mesh-olpc.c
+++ b/src/nm-device-802-11-mesh-olpc.c
@@ -1947,7 +1947,13 @@ static void
real_activation_success_handler (NMDevice *dev,
NMActRequest *req)
{
+ NMDevice80211MeshOLPC * self = NM_DEVICE_802_11_MESH_OLPC (dev);
+
nm_device_set_active_link (dev, TRUE);
+ if (self->priv->step == MESH_S4_P2P_MESH) {
+ nm_system_device_add_route_via_device_with_iface (nm_device_get_iface (dev),
+ "224.0.0.0/4");
+ }
}