Tidy last two commits.

This commit is contained in:
Simon Kelley
2022-07-31 11:04:12 +01:00
parent b5581ed173
commit 6578acd668
2 changed files with 14 additions and 25 deletions

View File

@@ -1418,14 +1418,8 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
}
if ((opt = option_find(mess, sz, OPTION_MUD_URL_V4, 1)))
{
add_extradata_opt(lease, opt);
}
else
{
add_extradata_opt(lease, NULL);
}
add_extradata_opt(lease, opt);
/* DNSMASQ_REQUESTED_OPTIONS */
if ((opt = option_find(mess, sz, OPTION_REQUESTED_OPTIONS, 1)))
{