Signed-off-by: Alon Bar-Lev <[email protected]> --- 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 bf7af63..608403b 100644
--- a/src/openvpn/route.c
+++ b/src/openvpn/route.c
@@ -268,7 +268,7 @@ init_route (struct route *r,
const struct route_option *ro,
const struct route_list *rl)
{
- const in_addr_t default_netmask = ~0;
+ const in_addr_t default_netmask = 0xffffffff;
bool status;
CLEAR (*r);
--
1.7.3.4
