batman-adv: delete global entry in case of roaming
authorAntonio Quartulli <ordex@autistici.org>
Sun, 4 Dec 2011 21:38:27 +0000 (22:38 +0100)
committerMarek Lindner <lindner_marek@yahoo.de>
Tue, 6 Dec 2011 19:12:59 +0000 (03:12 +0800)
When receiving a DEL change for a client due to a roaming event (change is
marked with TT_CLIENT_ROAM), each node  has to check if the client roamed
to itself or somewhere else.

In the latter case the global entry is kept to avoid having no route at all
otherwise we can safely delete the global entry

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

No differences found