]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Compilation warning on Solaris eliminated (libdhcp++/pkt4.cc warning)
authorTomek Mrugalski <tomasz@isc.org>
Thu, 15 Dec 2011 13:48:00 +0000 (14:48 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 15 Dec 2011 13:48:00 +0000 (14:48 +0100)
src/lib/dhcp/pkt4.cc

index 219af67b0f8f75effc91b57c29fc0e36b39ae755..a2e886aa29dabea239a0e5d688f7b92088473c7d 100644 (file)
@@ -59,7 +59,7 @@ Pkt4::Pkt4(const uint8_t* data, size_t len)
      :local_addr_(DEFAULT_ADDRESS),
       remote_addr_(DEFAULT_ADDRESS),
       iface_(""),
-      ifindex_(-1),
+      ifindex_(0),
       local_port_(DHCP4_SERVER_PORT),
       remote_port_(DHCP4_CLIENT_PORT),
       op_(BOOTREQUEST),