]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Default values are now in range of uintX_t (Compilation fix for Solaris).
authorTomek Mrugalski <tomasz@isc.org>
Wed, 9 May 2012 10:35:54 +0000 (12:35 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 9 May 2012 10:35:54 +0000 (12:35 +0200)
src/lib/dhcp/pkt6.cc

index bf283c0a20a47d21e36f95994fc1760098ce5f52..7bc182ffaf5d87be9d6b0035d5fafbfbf179ca09 100644 (file)
@@ -32,10 +32,10 @@ Pkt6::Pkt6(unsigned int dataLen, DHCPv6Proto proto /* = UDP */)
      remote_addr_("::"),
      iface_(""),
      ifindex_(-1),
-     local_port_(-1),
-     remote_port_(-1),
+     local_port_(0),
+     remote_port_(0),
      proto_(proto),
-     msg_type_(-1),
+     msg_type_(0),
      transid_(rand()%0xffffff)
 {