
422 Chapter 4—DHCPv6
Set Stateless Options and Send Reply
Listing 4-113
dhcp6s.c
1726 /* add other configuration information */
1727 if (set_statelessinfo(DH6_REBIND, &roptinfo)) {
1728 dprintf(LOG_ERR, FNAME,
1729 "failed to set other stateless information");
1730 goto fail;
1731 }
1732
1733 (void)server6_send(DH6_REPLY, ifp, dh6, optinfo, from, fromlen,
1734 &roptinfo, relayinfohead, client_conf);
1735
1736 dhcp6_clear_options(&roptinfo);
1737 return (0);
1738
1739 fail:
1740 dhcp6_clear_options(&roptinfo);
1741 return (-1);
1742 }
dhcp6s.c
1726–1737 The rest of this function is the same as react_renew() .
Next, the update_ia() function is shown, which is called ...