Josh Triplett b508d5fb69 net: ipconfig: Don't override command-line hostnames or domains
If the user specifies a hostname or domain name as part of the ip=
command-line option, preserve it and don't overwrite it with one
supplied by DHCP/BOOTP.

For instance, ip=::::myhostname::dhcp will use "myhostname" rather than
ignoring and overwriting it.

Fix the comment on ic_bootp_string that suggests it only copies a string
"if not already set"; it doesn't have any such logic.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-02 13:27:03 -07:00
..
2020-11-09 17:50:28 -08:00
2020-11-09 17:50:28 -08:00
2021-01-29 20:59:53 -08:00
2020-12-16 11:01:04 -08:00
2021-03-28 17:31:13 -07:00
2020-12-14 16:40:27 -08:00