summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--networkAddress.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7cd8d5b..a2a14a1 100644
--- a/Makefile
+++ b/Makefile
@@ -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_;