summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-27 18:36:54 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-27 18:36:54 +0000
commit857706f0ce1312da3aa2e10ed6ad84cad9645d6c (patch)
tree55db700b8d9b0c2e5ce35f491728ab834bf36ade
parentdokumetation typos (diff)
added network prefix
-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_;