// in IA_NA, mark it verified and verify that it belongs to the
// subnet.
if (iaaddr) {
- verified = true;
// If at least one address is not in range, then return
// the NotOnLink status code.
if (subnet && !subnet->inRange(iaaddr->getAddress())) {
status_msg.str()));
return (reply);
}
+ verified = true;
} else {
isc_throw(Unexpected, "failed to cast the IA Address option"
- " to the Option6IAAddrPtr. This is programmatic"
+ " to the Option6IAAddrPtr. This is programming"
" error and should be reported");
}
}
ASSERT_GT(client.getLeaseNum(), 0);
client.setDestAddress(IOAddress("2001:db8:1::1"));
// Send Confirm message to the server.
- ASSERT_NO_THROW (client.doConfirm());
+ ASSERT_NO_THROW(client.doConfirm());
// Client should have received a response.
ASSERT_TRUE(client.getContext().response_);
// Client should have received a status code option and this option should