mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-07-02 09:25:39 +00:00
update + NAT + rtlbtool
This commit is contained in:
parent
b381813514
commit
54bf751b9c
62 changed files with 2268 additions and 3067 deletions
|
|
@ -143,7 +143,11 @@ static void add_offer_options(uint8_t *option_start_address)
|
|||
The option specifies a list of DNS servers available to the client. */
|
||||
temp_option_addr = fill_one_option_content(temp_option_addr,
|
||||
DHCP_OPTION_CODE_DNS_SERVER, DHCP_OPTION_LENGTH_FOUR,
|
||||
#if IP_NAPT
|
||||
(void *)&dhcps_local_gateway);
|
||||
#else
|
||||
(void *)&dhcps_local_address);
|
||||
#endif
|
||||
/* add DHCP options 51.
|
||||
This option is used to request a lease time for the IP address. */
|
||||
temp_option_addr = fill_one_option_content(temp_option_addr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue