diff options
author | Josh Triplett <josh@joshtriplett.org> | 2021-06-02 04:38:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-02 23:27:03 +0300 |
commit | b508d5fb69c2211a1b860fc058aafbefc3b3c3cd (patch) | |
tree | cc34cd01c5f7c13661b418a51240750e11cbc049 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dd62766239d54e00201a6a75b6b348f816bb96af (diff) | |
download | linux-b508d5fb69c2211a1b860fc058aafbefc3b3c3cd.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions