initrd: fix handling "ip=single-dhcp:..." in reader_parse_ip()

Fixes: bf7530ccc1 ('initrd: honor "ip=single-dhcp" option as alias for "dhcp"')
(cherry picked from commit 22d6be54f3)
This commit is contained in:
Thomas Haller 2021-07-23 11:34:06 +02:00
parent 404272b152
commit 7521ede1ad
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -439,6 +439,7 @@ reader_parse_ip(Reader *reader, const char *sysfs_dir, char *argument)
"none",
"off",
"dhcp",
"single-dhcp",
"on"
"any",
"dhcp6",