Commit 0f371f9e authored by Simon Kelley's avatar Simon Kelley

Remove dead code.

parent 6bd109aa
...@@ -1385,8 +1385,8 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index, ...@@ -1385,8 +1385,8 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
lease->hostname) lease->hostname)
hostname = lease->hostname; hostname = lease->hostname;
if (!hostname && (hostname = host_from_dns(mess->ciaddr))) if (!hostname)
domain = get_domain(mess->ciaddr); hostname = host_from_dns(mess->ciaddr);
if (context && context->netid.net) if (context && context->netid.net)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment