Browse Source

Default values are now in range of uintX_t (Compilation fix for Solaris).

Tomek Mrugalski 13 years ago
parent
commit
b22ff2de4d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/dhcp/pkt6.cc

+ 3 - 3
src/lib/dhcp/pkt6.cc

@@ -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)
 {