batctl: detect clients connected through a 802.11 device
Commit Message
From: Antonio Quartulli <ordex@autistici.org>
Clients connected through a 802.11 device are now marked with the
TT_CLIENT_WIFI flag. This flag is also advertised with the tt
announcement.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
packet.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Comments
On Tuesday, July 26, 2011 00:39:08 Antonio Quartull wrote:
> From: Antonio Quartulli <ordex@autistici.org>
>
> Clients connected through a 802.11 device are now marked with the
> TT_CLIENT_WIFI flag. This flag is also advertised with the tt
> announcement.
Applied in revision 610d2ad.
Thanks,
Marek
@@ -84,6 +84,7 @@ enum tt_query_flags {
enum tt_client_flags {
TT_CLIENT_DEL = 1 << 0,
TT_CLIENT_ROAM = 1 << 1,
+ TT_CLIENT_WIFI = 1 << 2,
TT_CLIENT_NOPURGE = 1 << 8,
TT_CLIENT_NEW = 1 << 9,
TT_CLIENT_PENDING = 1 << 10