aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport-wlan-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-transport-wlan-helper.c')
-rw-r--r--src/transport/gnunet-transport-wlan-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-transport-wlan-helper.c b/src/transport/gnunet-transport-wlan-helper.c
index 3fca1f85f..ad6810233 100644
--- a/src/transport/gnunet-transport-wlan-helper.c
+++ b/src/transport/gnunet-transport-wlan-helper.c
@@ -611,7 +611,7 @@ stdin_send_hw (void *cls, void *client, const struct GNUNET_MessageHeader *hdr)
611 rtheader.rate = header->rate; 611 rtheader.rate = header->rate;
612 memcpy (write_pout->buf, &rtheader, sizeof (rtheader)); 612 memcpy (write_pout->buf, &rtheader, sizeof (rtheader));
613 memcpy (write_pout->buf + sizeof (rtheader), &header[1], sendsize); 613 memcpy (write_pout->buf + sizeof (rtheader), &header[1], sendsize);
614 /* payload contains MAC address, but we don't trust it, so we'll 614 /* payload contains MAC address, but we don't trust it, so we'll
615 * overwrite it with OUR MAC address again to prevent mischief */ 615 * overwrite it with OUR MAC address again to prevent mischief */
616 wlanheader = (struct ieee80211_frame *) (write_pout->buf + sizeof (rtheader)); 616 wlanheader = (struct ieee80211_frame *) (write_pout->buf + sizeof (rtheader));
617 mac_set (wlanheader, dev); 617 mac_set (wlanheader, dev);