printf "Starting Kea: ${keactrl} start -c ${KEACTRL_CFG_FILE}\n"
${keactrl} start -c ${KEACTRL_CFG_FILE}
ret=${?}
- assert_eq 0 ${ret} "Expected keactrl to retrun 0, returned value was ${ret}"
+ assert_eq 0 ${ret} "Expected keactrl to return 0, returned value was ${ret}"
# Wait up to 20s for the DHCPv4 server to configure.
wait_for_message 20 "DHCP4_CONFIG_COMPLETE" 1
printf "Starting Kea: ${keactrl} start -c ${KEACTRL_CFG_FILE}\n"
${keactrl} start -c ${KEACTRL_CFG_FILE}
ret=${?}
- assert_eq 0 ${ret} "Expected keactrl to retrun 0, returned value was ${ret}"
+ assert_eq 0 ${ret} "Expected keactrl to return 0, returned value was ${ret}"
# Wait up to 20s for the DHCPv6 server to configure.
wait_for_message 20 "DHCP6_CONFIG_COMPLETE" 1
printf "Starting Kea: ${keactrl} start -c ${KEACTRL_CFG_FILE}\n"
${keactrl} start -c ${KEACTRL_CFG_FILE}
ret=${?}
- assert_eq 0 ${ret} "Expected keactrl to retrun 0, returned value was ${ret}"
+ assert_eq 0 ${ret} "Expected keactrl to return 0, returned value was ${ret}"
# Wait up to 20s for the DHCPv4 server to configure.
wait_for_message 20 "DHCP4_CONFIG_COMPLETE" 1
printf "Starting Kea: ${keactrl} start -c ${KEACTRL_CFG_FILE}\n"
${keactrl} start -c ${KEACTRL_CFG_FILE}
ret=${?}
- assert_eq 0 ${ret} "Expected keactrl to retrun 0, returned value was ${ret}"
+ assert_eq 0 ${ret} "Expected keactrl to return 0, returned value was ${ret}"
# Wait up to 20s for the DHCPv6 server to configure.
wait_for_message 20 "DHCP6_CONFIG_COMPLETE" 1
return (factoryIA6(getCode(), begin, end));
} else if (getCode() == D6O_IAADDR && haveIAAddr6Format()) {
- // Rerurn Option6IAAddr option instance for the IAADDR
+ // Return Option6IAAddr option instance for the IAADDR
// option only for the same reasons as described in
// for IA_NA and IA_PD above.
return (factoryIAAddr6(getCode(), begin, end));
/// and parse them.
/// @param config is the configuration string to parse
///
- /// @return retuns 0 if the configuration parsed successfully,
+ /// @return returns 0 if the configuration parsed successfully,
/// non-zero otherwise failure.
int parseConfiguration(const std::string& config, bool v6 = false) {
int rcode_ = 1;