diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-27 18:36:54 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-27 18:36:54 +0000 |
commit | 857706f0ce1312da3aa2e10ed6ad84cad9645d6c (patch) | |
tree | 55db700b8d9b0c2e5ce35f491728ab834bf36ade | |
parent | dokumetation typos (diff) |
added network prefix
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | networkAddress.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -63,6 +63,7 @@ OBJS = anytun.o \ connectionList.o \ connectionParam.o \ networkAddress.o \ + networkPrefix.o \ PracticalSocket.o \ router.o \ routingTable.o \ @@ -169,6 +170,9 @@ connectionList.o: connectionList.cpp connectionList.h connectionParam.o: connectionParam.cpp connectionParam.h $(C++) $(CCFLAGS) $< -c +networkPrefix.o: networkPrefix.cpp networkPrefix.h + $(C++) $(CCFLAGS) $< -c + networkAddress.o: networkAddress.cpp networkAddress.h $(C++) $(CCFLAGS) $< -c diff --git a/networkAddress.h b/networkAddress.h index cbb483d..371abf2 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -53,9 +53,9 @@ public: void setNetworkAddress(const network_address_type_t type, const char * address ); void getNetworkAddress(const char *); network_address_type_t getNetworkAddressType(); + bool operator<(const NetworkAddress &s) const; private: - bool operator<(const NetworkAddress &s) const; Mutex mutex_; in_addr ipv4_address_; in6_addr ipv6_address_; |