Commit 0715531b authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[master] Initialized the hops value of the DHCPv4 packet.

This prevents errors reported by valgrind about uninitialized value of
hops being used in unit tests which skip parsing the packet. Okayed
on jabber.
parent be2f40d5
// Copyright (C) 2011-2013 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2011-2014 Internet Systems Consortium, Inc. ("ISC")
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
......@@ -67,6 +67,7 @@ Pkt4::Pkt4(const uint8_t* data, size_t len)
hwaddr_(new HWAddr()),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment