On 30/06/12 22:50, Gert Doering wrote:
> Operator/Cast precedence wrong: casting mac[0] to (bool) first - giving
> "1" for "any mac address that does not start with 00:" - and only then
> bit-anding with "1" - thus always returning "true".  Which, in turn,
> leads to "reject all incoming packets with 'bad source address'".
> 
> OpenVPN bug #216.
> 
> Signed-off-by: Gert Doering <[email protected]>
> ---
>  src/openvpn/mroute.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Applied to master.

commit 8df08de6f84d224c6a79ab6c74ba73c33a47735d
Author: Gert Doering <[email protected]>
List-Post: [email protected]
Date:   Sat Jun 30 22:50:43 2012 +0200

    Repair "tap server" mode brokenness caused by <stdbool.h> fallout

    Signed-off-by: Gert Doering <[email protected]>
    Acked-by: Fabian Knittel <[email protected]>
    Message-Id: [email protected]
    URL: http://article.gmane.org/gmane.network.openvpn.devel/6817
    Signed-off-by: David Sommerseth <[email protected]>


kind regards,

David Sommerseth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to