src/Network/Address.cc
changeset 380 d193dd1d8a7e
parent 379 2a8e780844d2
child 381 9b35bc329d23
--- a/src/Network/Address.cc	Tue Dec 16 20:30:35 2008 +0000
+++ b/src/Network/Address.cc	Tue Dec 16 23:21:26 2008 +0000
@@ -80,6 +80,9 @@
     // copy over to address
     memcpy(&this->address, addr, len);
 
+    // and update address_length
+    this->address_length = len;
+
     // and the hostname + service
     hostname = host_buf;
     service = serv_buf;