diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-27 21:25:34 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-27 21:25:34 +0000 |
commit | 0fbddcb83a4a3f79da8ba01d593f4064f0ce26ac (patch) | |
tree | a9edad038475d880e2e52a6d416eeafd0536da1b /networkAddress.cpp | |
parent | added mux to options (diff) |
added mux support and routing table
Diffstat (limited to 'networkAddress.cpp')
-rw-r--r-- | networkAddress.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networkAddress.cpp b/networkAddress.cpp index 3db7238..d87f5ba 100644 --- a/networkAddress.cpp +++ b/networkAddress.cpp @@ -36,6 +36,8 @@ NetworkAddress::NetworkAddress() { + network_address_type_=ipv4; + ipv4_address_.s_addr=0; } NetworkAddress::NetworkAddress(const NetworkAddress & ref) : mutex_(),ipv4_address_(ref.ipv4_address_),ipv6_address_(ref.ipv6_address_),ethernet_address_(ref.ethernet_address_),network_address_type_(ref.network_address_type_) |