Re: [B.A.T.M.A.N.] [PATCHv2 3/4] batman-adv: improve the TT component to support runtime flag changes

Marek Lindner
2013-10-14T11:22:18Z

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

On Sunday 13 October 2013 02:50:19 Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> Some flags (i.e. the WIFI flag) may change after that the
> related client has already been announced. However it is
> useful to informa the rest of the network about this change.
>
> Add a runtime-flag-switch detection mechanism and
> re-announce the related TT entry to advertise the new flag
> value.
>
> This mechanism can be easily exploited by future flags that
> may need the same treatment.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> packet.h | 6 ++++++
> translation-table.c | 25 ++++++++++++++++++++++++-
> 2 files changed, 30 insertions(+), 1 deletion(-)

Applied in revision 5d07c1f.

Thanks,
Marek

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