summaryrefslogtreecommitdiff
path: root/src/nm-device-802-11-mesh-olpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-device-802-11-mesh-olpc.c')
-rw-r--r--src/nm-device-802-11-mesh-olpc.c6
1 files changed, 6 insertions, 0 deletions
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");
+ }
}