summaryrefslogtreecommitdiff
path: root/src/networkPrefix.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-22 01:38:19 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-22 01:38:19 +0000
commitdd37bc54dae219e4d1975f014ec36c221ec4db20 (patch)
tree38e7f427b0ae736841f4193935e39aae500a16dd /src/networkPrefix.cpp
parentadded route option to anytun (diff)
new routing system
supports ipv4 and ipv6 routing with subnetting
Diffstat (limited to 'src/networkPrefix.cpp')
-rw-r--r--src/networkPrefix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networkPrefix.cpp b/src/networkPrefix.cpp
index f72dc01..3efdcdd 100644
--- a/src/networkPrefix.cpp
+++ b/src/networkPrefix.cpp
@@ -52,7 +52,7 @@ void NetworkPrefix::setNetworkPrefixLength(u_int8_t length )
length_ = length;
}
-u_int8_t NetworkPrefix::getNetworkPrefixLength()
+u_int8_t NetworkPrefix::getNetworkPrefixLength() const
{
return length_;
}