summaryrefslogtreecommitdiff
path: root/src/networkPrefix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/networkPrefix.cpp')
-rw-r--r--src/networkPrefix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/networkPrefix.cpp b/src/networkPrefix.cpp
index a6a2ef4..85b687d 100644
--- a/src/networkPrefix.cpp
+++ b/src/networkPrefix.cpp
@@ -40,7 +40,7 @@ NetworkPrefix::NetworkPrefix(): NetworkAddress(),length_(0)
{
}
-NetworkPrefix::NetworkPrefix(const NetworkAddress& src,u_int8_t length): NetworkAddress(src),length_(length)
+NetworkPrefix::NetworkPrefix(const NetworkAddress& src,uint8_t length): NetworkAddress(src),length_(length)
{
}
@@ -48,12 +48,12 @@ NetworkPrefix::NetworkPrefix(const NetworkPrefix& src): NetworkAddress(src),leng
{
}
-void NetworkPrefix::setNetworkPrefixLength(u_int8_t length)
+void NetworkPrefix::setNetworkPrefixLength(uint8_t length)
{
length_ = length;
}
-u_int8_t NetworkPrefix::getNetworkPrefixLength() const
+uint8_t NetworkPrefix::getNetworkPrefixLength() const
{
return length_;
}