mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
code update
This commit is contained in:
@@ -767,7 +767,7 @@ Dhcpv6Srv::testServerid(const Pkt6Ptr& pkt){
|
||||
OptionPtr serverid = pkt->getOption(D6O_SERVERID);
|
||||
|
||||
// I just want to throw exception when server id's don't mach.
|
||||
if !(getServerID()->getData() == serverid->getData())
|
||||
if (!(getServerID()->getData() == serverid->getData()))
|
||||
//if received serverid isn't same with our, drop message
|
||||
isc_throw(ServerID_mismatch, "Receievd serverid isn't ours");
|
||||
}
|
||||
|
Reference in New Issue
Block a user