Ticket #264: patch-srcopenvpnoptions.c

File patch-srcopenvpnoptions.c, 591 bytes (added by leres, 12 years ago)
Line 
1--- src/openvpn/options.c.orig  2013-02-17 12:09:40.000000000 -0800
2+++ src/openvpn/options.c       2013-02-17 12:09:57.000000000 -0800
3@@ -4326,9 +4326,9 @@
4       if ( get_ipv6_addr( p[1], NULL, &netbits, &ipv6_local, msglevel ) &&
5            ipv6_addr_safe( p[2] ) )
6         {
7-         if ( netbits < 64 || netbits > 124 )
8+         if ( netbits < 64 || netbits > 128 )
9            {
10-             msg( msglevel, "ifconfig-ipv6: /netbits must be between 64 and 124, not '/%d'", netbits );
11+             msg( msglevel, "ifconfig-ipv6: /netbits must be between 64 and 128, not '/%d'", netbits );
12              goto err;
13            }
14