summaryrefslogtreecommitdiff
path: root/src/networkPrefix.h
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.h
parentadded route option to anytun (diff)
new routing system
supports ipv4 and ipv6 routing with subnetting
Diffstat (limited to 'src/networkPrefix.h')
-rw-r--r--src/networkPrefix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networkPrefix.h b/src/networkPrefix.h
index 53ebf0c..5a0a69a 100644
--- a/src/networkPrefix.h
+++ b/src/networkPrefix.h
@@ -46,7 +46,7 @@ public:
NetworkPrefix(const NetworkAddress &, u_int8_t length);
NetworkPrefix(const NetworkPrefix &);
void setNetworkPrefixLength(u_int8_t length );
- u_int8_t getNetworkPrefixLength();
+ u_int8_t getNetworkPrefixLength() const;
bool operator<(const NetworkPrefix &s) const;
private: