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/icmp_socket.c | |
parent | batman-adv: Prefix icmp_socket defines with BATADV_ (diff) | |
download | linux-7e071c79a6964130d1df4dc5ca5a6f3638680fce.tar.xz linux-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/icmp_socket.c')
-rw-r--r-- | net/batman-adv/icmp_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/icmp_socket.c b/net/batman-adv/icmp_socket.c index 4f45ca72fefc..f2f578b1d9f0 100644 --- a/net/batman-adv/icmp_socket.c +++ b/net/batman-adv/icmp_socket.c @@ -203,9 +203,9 @@ static ssize_t batadv_socket_write(struct file *file, const char __user *buff, icmp_packet->uid = socket_client->index; - if (icmp_packet->header.version != COMPAT_VERSION) { + if (icmp_packet->header.version != BATADV_COMPAT_VERSION) { icmp_packet->msg_type = PARAMETER_PROBLEM; - icmp_packet->header.version = COMPAT_VERSION; + icmp_packet->header.version = BATADV_COMPAT_VERSION; batadv_socket_add_packet(socket_client, icmp_packet, packet_len); goto free_skb; |