diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2010-02-18 09:15:27 +0000 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2010-02-18 09:15:27 +0000 |
commit | e191eab68d905bfe14e3590a92fa653f0ae2ebce (patch) | |
tree | a5837b067ecab92c645008b537087b0d163ef1ab /src/networkPrefix.cpp | |
parent | whitespace only change: unified formatting with "astyle --style=k/r --indent=... (diff) |
non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility)
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 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_; } |