summaryrefslogtreecommitdiff
path: root/networkPrefix.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-27 21:25:34 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-27 21:25:34 +0000
commit0fbddcb83a4a3f79da8ba01d593f4064f0ce26ac (patch)
treea9edad038475d880e2e52a6d416eeafd0536da1b /networkPrefix.cpp
parentadded mux to options (diff)
added mux support and routing table
Diffstat (limited to 'networkPrefix.cpp')
-rw-r--r--networkPrefix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/networkPrefix.cpp b/networkPrefix.cpp
index b373eec..5d7ac49 100644
--- a/networkPrefix.cpp
+++ b/networkPrefix.cpp
@@ -33,6 +33,10 @@
#include "networkPrefix.h"
+NetworkPrefix::NetworkPrefix(const NetworkAddress & src): NetworkAddress(src),length_(0)
+{
+}
+
void NetworkPrefix::setNetworkPrefixLength(uint8_t length )
{
length_ = length;