initrd: honor "ip=fw" alias for "ip=ibft" in reader_parse_ip()

This alias was introduced by commit [1], without further explaination
or documentation. As we already have it, implement it fully.

[1] 7a72c705ac
This commit is contained in:
Thomas Haller 2021-07-23 11:49:25 +02:00
parent 4547b4a893
commit 6fa7f2e06c
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -644,7 +644,7 @@ reader_parse_ip(Reader *reader, const char *sysfs_dir, char *argument)
NM_SETTING_IP4_CONFIG_METHOD_DISABLED,
NULL);
}
} else if (nm_streq0(kind, "ibft")) {
} else if (NM_IN_STRSET(kind, "fw", "ibft")) {
NMSettingWired *s_wired;
const char * mac = NULL;
const char * ifname;