summaryrefslogtreecommitdiff
path: root/networkPrefix.cpp
diff options
context:
space:
mode:
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;