]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Set system hostname when initializing interface
authorAndrei Tatar <andrei@unikraft.io>
Fri, 2 Feb 2024 15:48:35 +0000 (16:48 +0100)
committerSimon Kuenzer <simon@unikraft.io>
Fri, 9 Feb 2024 20:08:03 +0000 (21:08 +0100)
commitda07ef6388d567c4999145102e05f753352705f2
treeda8cece9f7f3d4993f12995fd58179fe414bb622
parent0f14a50a1bd06547e64c862638ad57036a51acf6
Set system hostname when initializing interface

This change makes lwip set the system hostname to the one it receives
during initialization, using the `sethostname` library call.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Approved-by: Simon Kuenzer <simon@unikraft.io>
GitHub-Closes: #49
uknetdev.c