mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[3919] Added sname_ and file_ initialization
This commit is contained in:
@@ -81,6 +81,9 @@ Pkt4::Pkt4(const uint8_t* data, size_t len)
|
||||
|
||||
data_.resize(len);
|
||||
memcpy(&data_[0], data, len);
|
||||
|
||||
memset(sname_, 0, MAX_SNAME_LEN);
|
||||
memset(file_, 0, MAX_FILE_LEN);
|
||||
}
|
||||
|
||||
size_t
|
||||
|
Reference in New Issue
Block a user