git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@772
e7ae566f-a301-0410-adde-
c780ea21d3b5
2005.11.xx -- Version 2.1-beta7
+* Fixed bug where --server directive in --dev tap mode
+ claimed that it would support subnets of /30 or less
+ but actually would only accept /29 or less.
* Fixed bug in Linux get_default_gateway function
introduced in 2.0.4, which would cause redirect-gateway
on Linux clients to fail.
}
else if (dev == DEV_TYPE_TAP)
{
- if (netbits >= 30)
+ if (netbits > 30)
msg (M_USAGE, "--server directive when used with --dev tap must define a subnet of %s or lower",
print_netmask (30, &gc));