summaryrefslogtreecommitdiff
path: root/networkAddress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'networkAddress.cpp')
-rw-r--r--networkAddress.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/networkAddress.cpp b/networkAddress.cpp
index 8be45e2..cd93576 100644
--- a/networkAddress.cpp
+++ b/networkAddress.cpp
@@ -67,6 +67,11 @@ NetworkAddress::~NetworkAddress()
{
}
+NetworkAddress::NetworkAddress(const network_address_type_t type, const char * address )
+{
+ setNetworkAddress( type, address);
+}
+
void NetworkAddress::setNetworkAddress(const network_address_type_t type, const char * address )
{
if (type==ipv4)