1 Jul 2012 14:43
Re: [PATCH] Repair "tap server" mode brokenness caused by <stdbool.h> fallout
Fabian Knittel <fabian.knittel <at> lettink.de>
2012-07-01 12:43:23 GMT
2012-07-01 12:43:23 GMT
Hi everyone,
2012/6/30 Gert Doering <gert <at> greenie.muc.de>:
> diff --git a/src/openvpn/mroute.c b/src/openvpn/mroute.c
> index aecb702..850e336 100644
> --- a/src/openvpn/mroute.c
> +++ b/src/openvpn/mroute.c
> <at> <at> -52,7 +52,7 <at> <at> mroute_addr_init (struct mroute_addr *addr)
> static inline bool
> is_mac_mcast_addr (const uint8_t *mac)
> {
> - return (bool) mac[0] & 1;
> + return (bool) (mac[0] & 1);
> }
>
> static inline bool
ACK. In the context of is_mac_mcast_addr, the check now looks obviously correct.
Cheers
Fabian
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openvpn-devel mailing list
(Continue reading)
RSS Feed