batman-adv: Drop tt queries with foreign dest
authorMartin Hundebøll <martin@hundeboll.net>
Thu, 5 Jul 2012 09:34:28 +0000 (11:34 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 23 Aug 2012 12:20:19 +0000 (14:20 +0200)
When enabling promiscuous mode, tt queries for other hosts might be
received. Before this patch, "foreign" tt queries were processed like
any other query and thus forwarded to its destination again and thereby
causing a loop.

This patch adds a check to drop foreign tt queries.

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

No differences found