if (!forward_dhcp)
return true;
+ if (dhcp->op == 2)
+ refresh_host(rif, pkt->eth.ether_shost, (void *) &pkt->iph.saddr);
+
DPRINTF(2, "%s: handling DHCP %s\n", rif->ifname, (dhcp->op == 1 ? "request" : "response"));
dhcp->flags |= htons(DHCP_FLAG_BROADCAST);