aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-08-24 15:18:41 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-08-24 15:18:41 +0000
commitffd9b2ac043fa379e2d289ef1a7bc9d281de92b1 (patch)
treec93983cf01271c8a866d2edb5b4ee4edd0d5fff5 /src/transport/plugin_transport_wlan.c
parent3f70e71b5e73cb6464bcdccdc69be22cfbc3af69 (diff)
downloadgnunet-ffd9b2ac043fa379e2d289ef1a7bc9d281de92b1.tar.gz
gnunet-ffd9b2ac043fa379e2d289ef1a7bc9d281de92b1.zip
changes to address notification
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 2d786e2a9..b471f6224 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1285,7 +1285,8 @@ handle_helper_message (void *cls, void *client,
1285 /* remove old address */ 1285 /* remove old address */
1286 plugin->env->notify_address (plugin->env->cls, GNUNET_NO, 1286 plugin->env->notify_address (plugin->env->cls, GNUNET_NO,
1287 &plugin->mac_address, 1287 &plugin->mac_address,
1288 sizeof (struct GNUNET_TRANSPORT_WLAN_MacAddress)); 1288 sizeof (struct GNUNET_TRANSPORT_WLAN_MacAddress),
1289 "wlan");
1289 } 1290 }
1290 plugin->mac_address = cm->mac; 1291 plugin->mac_address = cm->mac;
1291 plugin->have_mac = GNUNET_YES; 1292 plugin->have_mac = GNUNET_YES;
@@ -1295,7 +1296,8 @@ handle_helper_message (void *cls, void *client,
1295 GNUNET_i2s (plugin->env->my_identity)); 1296 GNUNET_i2s (plugin->env->my_identity));
1296 plugin->env->notify_address (plugin->env->cls, GNUNET_YES, 1297 plugin->env->notify_address (plugin->env->cls, GNUNET_YES,
1297 &plugin->mac_address, 1298 &plugin->mac_address,
1298 sizeof (struct GNUNET_TRANSPORT_WLAN_MacAddress)); 1299 sizeof (struct GNUNET_TRANSPORT_WLAN_MacAddress),
1300 "wlan");
1299 break; 1301 break;
1300 case GNUNET_MESSAGE_TYPE_WLAN_DATA_FROM_HELPER: 1302 case GNUNET_MESSAGE_TYPE_WLAN_DATA_FROM_HELPER:
1301 LOG (GNUNET_ERROR_TYPE_DEBUG, 1303 LOG (GNUNET_ERROR_TYPE_DEBUG,