Fixed a typo and small impl change in network.
}
// Set interface-id
- const OptionPtr& ifaceid = getInterfaceId(Network::Inheritance::NONE);
- if (ifaceid) {
- std::vector<uint8_t> bin = ifaceid->getData();
+ if (interface_id_) {
+ std::vector<uint8_t> bin = interface_id_->getData();
std::string ifid;
ifid.resize(bin.size());
if (!bin.empty()) {
subnet2->addRelayAddress(IOAddress("2001:db8:1::8"));
// Set subnet specific interface-id for subnet2. This is to ensure that
- // the subnet specific value is not overriden by shared network specific
+ // the subnet specific value is not overridden by shared network specific
// value.
std::string subnet_interface_id_value = "vlan222";
OptionBuffer subnet_iface_id_buffer(subnet_interface_id_value.begin(),