Hi everyone,

2012/6/30 Gert Doering <g...@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
> @@ -52,7 +52,7 @@ 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

Reply via email to