Fix a typo. `ifc_name` modify to `if_name`.

This commit is contained in:
fengbojiang 2022-09-02 20:21:32 +08:00
parent 51c91ab0ad
commit 69c1032524
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ port_cfg_handler(struct ff_config *cfg, const char *section,
cur->port_id = portid;
}
if (strcmp(name, "ifc_name") == 0) {
if (strcmp(name, "if_name") == 0) {
cur->ifname = strdup(value);
} else if (strcmp(name, "addr") == 0) {
cur->addr = strdup(value);