batman-adv: only add recordroute information to icmp request/reply
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 25 Apr 2013 08:37:26 +0000 (10:37 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 07:51:26 +0000 (09:51 +0200)
commit97dbc03b4776fbcfda99c4486357d28115d9adc0
tree78b464f2a1afe1914a2095f7fa8ec0dbfc4af7a5
parentccdbb6e96beca362db876d820ac1e560ff6d9579
batman-adv: only add recordroute information to icmp request/reply

Adding host information for record route is only required for ICMP
requests and replys, and should not be added to just any (future?)
packet type.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/routing.c