For VPN UserRoutes and ServerRoutes properties, the Netmask
field is the IPv4 netmask (like 255.255.255.0) for IPv4 routes.
For IPv6 routes it is the prefix length (like 64) instead.

Reported by Jaakko Hannikainen.
---
 doc/vpn-connection-api.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/vpn-connection-api.txt b/doc/vpn-connection-api.txt
index 4367699..a814a38 100644
--- a/doc/vpn-connection-api.txt
+++ b/doc/vpn-connection-api.txt
@@ -144,7 +144,8 @@ Properties  string State [readonly]
 
                        string Netmask
 
-                               The netmask of the route.
+                               The netmask of the route. For IPv6 routes,
+                               this is the prefix length.
 
                        string Gateway
 
@@ -166,7 +167,8 @@ Properties  string State [readonly]
 
                        string Netmask
 
-                               The netmask of the route.
+                               The netmask of the route. For IPv6 routes,
+                               this is the prefix length.
 
                        string Gateway
 
-- 
2.1.0

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to