diff options
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, | |||
203 | 203 | ||
204 | icmp_packet->uid = socket_client->index; | 204 | icmp_packet->uid = socket_client->index; |
205 | 205 | ||
206 | if (icmp_packet->header.version != COMPAT_VERSION) { | 206 | if (icmp_packet->header.version != BATADV_COMPAT_VERSION) { |
207 | icmp_packet->msg_type = PARAMETER_PROBLEM; | 207 | icmp_packet->msg_type = PARAMETER_PROBLEM; |
208 | icmp_packet->header.version = COMPAT_VERSION; | 208 | icmp_packet->header.version = BATADV_COMPAT_VERSION; |
209 | batadv_socket_add_packet(socket_client, icmp_packet, | 209 | batadv_socket_add_packet(socket_client, icmp_packet, |
210 | packet_len); | 210 | packet_len); |
211 | goto free_skb; | 211 | goto free_skb; |