Re: [Openvpn-devel] [PATCH 2/4] cleanup: avoid using ~0 - ipv6

2012-04-02 Thread David Sommerseth
On 29/03/12 11:16, Alon Bar-Lev wrote: > Signed-off-by: Alon Bar-Lev > --- > src/openvpn/route.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > Applied to master branches on -testing and -stable trees commit ffa1184d7fde8262f5c19438a59657e318d5126f Author: Alon Bar-Lev List-P

Re: [Openvpn-devel] [PATCH 2/4] cleanup: avoid using ~0 - ipv6

2012-04-01 Thread Gert Doering
Hi, On Thu, Mar 29, 2012 at 11:16:40AM +0200, Alon Bar-Lev wrote: > Signed-off-by: Alon Bar-Lev > --- > src/openvpn/route.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) ACK. 0xff is all that is needed, and makes it more obvious what is done - "up to 8 bits are masked away". g

[Openvpn-devel] [PATCH 2/4] cleanup: avoid using ~0 - ipv6

2012-03-29 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- src/openvpn/route.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/openvpn/route.c b/src/openvpn/route.c index a628e77..dda71c9 100644 --- a/src/openvpn/route.c +++ b/src/openvpn/route.c @@ -1530,7 +1530,7 @@ print_in6_addr_netbits_on