mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[1540] Removed declaration and initialization of unused variable
... which was left over from a previous change.
This commit is contained in:
@@ -183,9 +183,6 @@ void Dhcpv6Srv::setServerID() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t zeros[IfaceMgr::MAX_MAC_LEN];
|
|
||||||
memset(zeros, 0, IfaceMgr::MAX_MAC_LEN);
|
|
||||||
|
|
||||||
// some interfaces (like lo on Linux) report 6-bytes long
|
// some interfaces (like lo on Linux) report 6-bytes long
|
||||||
// MAC adress 00:00:00:00:00:00. Let's not use such weird interfaces
|
// MAC adress 00:00:00:00:00:00. Let's not use such weird interfaces
|
||||||
// to generate DUID.
|
// to generate DUID.
|
||||||
|
Reference in New Issue
Block a user