Client flags from bit 0 to 7 are sent over the wire. BATADV_TT_CLIENT_TEMP is not sent therefore it has occupy an higher bit so to avoid wasting positions used by flags sent within packets
Signed-off-by: Antonio Quartulli ordex@autistici.org --- packet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packet.h b/packet.h index f21f9fa..aee6b96 100644 --- a/packet.h +++ b/packet.h @@ -106,10 +106,10 @@ enum batadv_tt_client_flags { BATADV_TT_CLIENT_DEL = BIT(0), BATADV_TT_CLIENT_ROAM = BIT(1), BATADV_TT_CLIENT_WIFI = BIT(2), - BATADV_TT_CLIENT_TEMP = BIT(3), BATADV_TT_CLIENT_NOPURGE = BIT(8), BATADV_TT_CLIENT_NEW = BIT(9), BATADV_TT_CLIENT_PENDING = BIT(10), + BATADV_TT_CLIENT_TEMP = BIT(11), };
/* claim frame types for the bridge loop avoidance */