diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-06-03 22:19:13 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-28 08:45:00 +0200 |
commit | 7e071c79a6964130d1df4dc5ca5a6f3638680fce (patch) | |
tree | 5e6260e15caf8cfb14037b526c06a2e578e8a007 /net/batman-adv/main.c | |
parent | 64346643e86d93805fcb8f722fc4817110be99d8 (diff) | |
download | linux-3.10-7e071c79a6964130d1df4dc5ca5a6f3638680fce.tar.gz linux-3.10-7e071c79a6964130d1df4dc5ca5a6f3638680fce.tar.bz2 linux-3.10-7e071c79a6964130d1df4dc5ca5a6f3638680fce.zip |
batman-adv: Prefix packet 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/main.c')
-rw-r--r-- | net/batman-adv/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 9cf0b38fab8..986be72b514 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -72,7 +72,7 @@ static int __init batadv_init(void) register_netdevice_notifier(&batadv_hard_if_notifier); pr_info("B.A.T.M.A.N. advanced %s (compatibility version %i) loaded\n", - SOURCE_VERSION, COMPAT_VERSION); + SOURCE_VERSION, BATADV_COMPAT_VERSION); return 0; } @@ -238,7 +238,7 @@ int batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, batman_ogm_packet = (struct batman_ogm_packet *)skb->data; - if (batman_ogm_packet->header.version != COMPAT_VERSION) { + if (batman_ogm_packet->header.version != BATADV_COMPAT_VERSION) { batadv_dbg(DBG_BATMAN, bat_priv, "Drop packet: incompatible batman version (%i)\n", batman_ogm_packet->header.version); |