diff options
Diffstat (limited to 'src/networkPrefix.cpp')
-rw-r--r-- | src/networkPrefix.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/networkPrefix.cpp b/src/networkPrefix.cpp index 7ba47ea..f72dc01 100644 --- a/src/networkPrefix.cpp +++ b/src/networkPrefix.cpp @@ -39,7 +39,7 @@ NetworkPrefix::NetworkPrefix(): NetworkAddress(),length_(0) { } -NetworkPrefix::NetworkPrefix(const NetworkAddress & src,uint8_t length): NetworkAddress(src),length_(length) +NetworkPrefix::NetworkPrefix(const NetworkAddress & src,u_int8_t length): NetworkAddress(src),length_(length) { } @@ -47,12 +47,12 @@ NetworkPrefix::NetworkPrefix(const NetworkPrefix & src): NetworkAddress(src),len { } -void NetworkPrefix::setNetworkPrefixLength(uint8_t length ) +void NetworkPrefix::setNetworkPrefixLength(u_int8_t length ) { length_ = length; } -uint8_t NetworkPrefix::getNetworkPrefixLength() +u_int8_t NetworkPrefix::getNetworkPrefixLength() { return length_; } |