]> tinc-vpn.org Git - tinc/blobdiff - src/subnet.h
masklength is better known as prefixlength.
[tinc] / src / subnet.h
index 7e926e4f16849d04363337ff1c9b40e400c5f8ba..be20315b8cd37a113c26dac261f1ec0fb8fa851c 100644 (file)
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: subnet.h,v 1.1.2.17 2002/03/01 14:09:31 guus Exp $
+    $Id: subnet.h,v 1.1.2.18 2002/04/09 11:42:48 guus Exp $
 */
 
 #ifndef __TINC_SUBNET_H__
@@ -42,13 +42,13 @@ typedef struct subnet_mac_t
 typedef struct subnet_ipv4_t
 {
   ipv4_t address;
-  int masklength;
+  int prefixlength;
 } subnet_ipv4_t;
 
 typedef struct subnet_ipv6_t
 {
   ipv6_t address;
-  int masklength;
+  int prefixlength;
 } subnet_ipv6_t;
 
 #include "node.h"