diff options
Diffstat (limited to 'src/openvpn/pf.c')
-rw-r--r-- | src/openvpn/pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/pf.c b/src/openvpn/pf.c index 7ed1e70..3c46801 100644 --- a/src/openvpn/pf.c +++ b/src/openvpn/pf.c @@ -125,7 +125,7 @@ add_subnet (const char *line, const char *prefix, const int line_num, struct pf_ { /* match special "unknown" tag for addresses unrecognized by mroute */ network.s_addr = htonl(0); - netmask = ~0; + netmask = IPV4_NETMASK_HOST; } { |