diff options
-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_; |