Document environment variables set by the dhcp command when the network stack is lwIP.
Signed-off-by: Jerome Forissier <[email protected]> --- doc/usage/environment.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/usage/environment.rst b/doc/usage/environment.rst index 7bd9ffce8d8..b67aae84c58 100644 --- a/doc/usage/environment.rst +++ b/doc/usage/environment.rst @@ -499,7 +499,7 @@ Automatically updated variables ------------------------------- The following environment variables may be used and automatically -updated by the network boot commands ("bootp" and "rarpboot"), +updated by the network boot commands ("bootp", "dhcp" and "rarpboot"), depending the information provided by your boot server: ========= =================================================== @@ -514,6 +514,9 @@ ipaddr See above netmask Subnet Mask rootpath Pathname of the root filesystem on the NFS server serverip see above +ipaddrN IP address for interface N (>0) (NET_LWIP dhcp only) +netmaskN Subnet mask for interface N (>0) (NET_LWIP dhcp only) +gatewayipN IP address of the Gateway for interface N (>0) (NET_LWIP dhcp only) ========= =================================================== -- 2.43.0

