From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 5 Jun 2011 23:55:52 +0200 From: Andrew Lunn Message-ID: <20110605215552.GX4071@lunn.ch> References: <1307307664-19910-1-git-send-email-ordex@autistici.org> <1307307664-19910-4-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307307664-19910-4-git-send-email-ordex@autistici.org> Subject: Re: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: implement AP-isolation on the receiver side 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: , To: The list for a Better Approach To Mobile Ad-hoc Networking > diff --git a/translation-table.c b/translation-table.c > index e0c5945..24e48e7 100644 > --- a/translation-table.c > +++ b/translation-table.c > @@ -1683,3 +1683,33 @@ void tt_free(struct bat_priv *bat_priv) > > kfree(bat_priv->tt_buff); > } > + > +bool is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src, uint8_t *dst) Doh! O.K. The ordering could of been better... but the code at the end is O.K, which is what matters. Andrew