[PATCH v1] net: dhcp: send current hostname as part of the DHCP request

Sascha Hauer sha at pengutronix.de
Sat Oct 2 02:30:34 PDT 2021


On Tue, Sep 14, 2021 at 08:30:01AM +0200, Oleksij Rempel wrote:
> To be able to use more advanced DHCP server configurations, for example
> host name pattern matching, barebox should send some name.
> 
> With this patch, barebox will send barebox_hostname, if dhcp.hostname is
> not configured.
> 
> Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
> ---
>  net/dhcp.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list