summaryrefslogtreecommitdiff
path: root/src/networkPrefix.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-11 14:47:08 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-11 14:47:08 +0000
commitd7a5235d9a3702cdbe2fd67d5aac7368d2484a87 (patch)
treee0891a60dccf3e471b5b689fd3e84e35d9d89c5f /src/networkPrefix.h
parentremoved old includes (diff)
mainly type and define fixes
partly builds on windows without conversion between host and network byte order working compile defines: NOCRYPT;NODAEMON;NOEXEC;NOPACKED;NOSYSLOG;NOSIGNALCONTROLLER;WIN32_LEAN_AND_MEAN
Diffstat (limited to 'src/networkPrefix.h')
-rw-r--r--src/networkPrefix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/networkPrefix.h b/src/networkPrefix.h
index 336233c..53ebf0c 100644
--- a/src/networkPrefix.h
+++ b/src/networkPrefix.h
@@ -43,16 +43,16 @@ class NetworkPrefix : public NetworkAddress
{
public:
NetworkPrefix();
- NetworkPrefix(const NetworkAddress &, uint8_t length);
+ NetworkPrefix(const NetworkAddress &, u_int8_t length);
NetworkPrefix(const NetworkPrefix &);
- void setNetworkPrefixLength(uint8_t length );
- uint8_t getNetworkPrefixLength();
+ void setNetworkPrefixLength(u_int8_t length );
+ u_int8_t getNetworkPrefixLength();
bool operator<(const NetworkPrefix &s) const;
private:
operator NetworkAddress();
void operator=(const NetworkPrefix &s);
- uint8_t length_;
+ u_int8_t length_;
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive & ar, const unsigned int version)