Reported-by: Sven Eckelmann sven@narfation.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de --- icmp_socket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/icmp_socket.c b/icmp_socket.c index ac3520e..defd692 100644 --- a/icmp_socket.c +++ b/icmp_socket.c @@ -217,7 +217,7 @@ static ssize_t bat_socket_write(struct file *file, const char __user *buff,
if (icmp_packet->version != COMPAT_VERSION) { icmp_packet->msg_type = PARAMETER_PROBLEM; - icmp_packet->ttl = COMPAT_VERSION; + icmp_packet->version = COMPAT_VERSION; bat_socket_add_packet(socket_client, icmp_packet, packet_len); goto free_skb; }
On Sunday, October 30, 2011 22:27:21 Marek Lindner wrote:
Reported-by: Sven Eckelmann sven@narfation.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
icmp_socket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied in revision cd1a5e2.
Regards, Marek
b.a.t.m.a.n@lists.open-mesh.org