diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-12-22 01:38:19 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-12-22 01:38:19 +0000 |
commit | dd37bc54dae219e4d1975f014ec36c221ec4db20 (patch) | |
tree | 38e7f427b0ae736841f4193935e39aae500a16dd /src/networkPrefix.cpp | |
parent | added 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.cpp | 2 |
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_; } |