From patchwork Mon Jul 25 22:39:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 1234 Return-Path: Received: from latitanza.investici.org (latitanza.investici.org [82.94.249.234]) by open-mesh.org (Postfix) with ESMTPS id E4DF2154192 for ; Tue, 26 Jul 2011 00:39:27 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@autistici.org; dkim-adsp=pass Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: ordex@autistici.org) by localhost (Postfix) with ESMTPSA id 4A1AF9803C; Mon, 25 Jul 2011 22:39:23 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 latitanza.investici.org 4A1AF9803C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1311633565; bh=vGmVajfZ+ybG0nvEJYxeD56kGdSaHo1zlGUMsxAQuG0=; h=From:To:Cc:Subject:Date:Message-Id; b=Ur1c2fu6S8opgyM0BvW0vBWw0f3Es4Jef00GLmZfTk7QX5hhEG/RlZdnvS4fk+f5y c392IgbBlfNejIVWJgqobqm25RFMmwRTDQeaBTDuCeC59KFBJrR5rk5+woQa6sSQsd 2gE+STGDjvikU25JDmjofKYaKOxcGTeefMh2YjWQ= From: Antonio Quartull To: b.a.t.m.a.n@lists.open-mesh.org Date: Tue, 26 Jul 2011 00:39:08 +0200 Message-Id: <1311633548-302-1-git-send-email-ordex@autistici.org> X-Mailer: git-send-email 1.7.3.4 Subject: [B.A.T.M.A.N.] [PATCH] batctl: detect clients connected through a 802.11 device X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2011 22:40:09 -0000 From: Antonio Quartulli 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 --- packet.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/packet.h b/packet.h index b76b4be..8802eab 100644 --- a/packet.h +++ b/packet.h @@ -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