diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-06-03 16:19:17 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-28 02:45:05 -0400 |
commit | 42d0b044b7c9e5821f1bf3e2b4ea7861417c11c2 (patch) | |
tree | 3dedf87facfbc4dd0392256e93088c18509e1391 /net/batman-adv/unicast.c | |
parent | edbf7ff72312afcc502014ccf3c72c49fa55722a (diff) |
batman-adv: Prefix main defines with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/unicast.c')
-rw-r--r-- | net/batman-adv/unicast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c index 809832026370..8454d916cd01 100644 --- a/net/batman-adv/unicast.c +++ b/net/batman-adv/unicast.c | |||
@@ -323,7 +323,7 @@ find_router: | |||
323 | /* batman packet type: unicast */ | 323 | /* batman packet type: unicast */ |
324 | unicast_packet->header.packet_type = BAT_UNICAST; | 324 | unicast_packet->header.packet_type = BAT_UNICAST; |
325 | /* set unicast ttl */ | 325 | /* set unicast ttl */ |
326 | unicast_packet->header.ttl = TTL; | 326 | unicast_packet->header.ttl = BATADV_TTL; |
327 | /* copy the destination for faster routing */ | 327 | /* copy the destination for faster routing */ |
328 | memcpy(unicast_packet->dest, orig_node->orig, ETH_ALEN); | 328 | memcpy(unicast_packet->dest, orig_node->orig, ETH_ALEN); |
329 | /* set the destination tt version number */ | 329 | /* set the destination tt version number */ |