public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Weird TTL for ICMP packets
@ 2011-10-30 13:31 Sven Eckelmann
  2011-10-30 15:36 ` Simon Wunderlich
  2011-10-30 15:40 ` [B.A.T.M.A.N.] [PATCH] batman-adv: explain the weird " Simon Wunderlich
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Eckelmann @ 2011-10-30 13:31 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

Hi,

just looked through some ICMP code in icmp_socket.c and found a little bit 
weird TTL:

218         if (icmp_packet->version != COMPAT_VERSION) {                                                                                      
219                 icmp_packet->msg_type = PARAMETER_PROBLEM;                                                                                 
220                 icmp_packet->ttl = COMPAT_VERSION;                                                                                         
221                 bat_socket_add_packet(socket_client, icmp_packet, 
packet_len);
222                 goto free_skb;                                                                                                             
223         }

It was introduced by dba95eb270ff9674326865a20d25921c69c04d6c. My guess is 
that TTL should be used.

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-30 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-30 13:31 [B.A.T.M.A.N.] Weird TTL for ICMP packets Sven Eckelmann
2011-10-30 15:36 ` Simon Wunderlich
2011-10-30 15:40 ` [B.A.T.M.A.N.] [PATCH] batman-adv: explain the weird " Simon Wunderlich
2011-10-30 15:57   ` Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox