mirror of https://github.com/F-Stack/f-stack.git
Fix a typo. `ifc_name` modify to `if_name`.
This commit is contained in:
parent
51c91ab0ad
commit
69c1032524
lib
|
@ -490,7 +490,7 @@ port_cfg_handler(struct ff_config *cfg, const char *section,
|
||||||
cur->port_id = portid;
|
cur->port_id = portid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(name, "ifc_name") == 0) {
|
if (strcmp(name, "if_name") == 0) {
|
||||||
cur->ifname = strdup(value);
|
cur->ifname = strdup(value);
|
||||||
} else if (strcmp(name, "addr") == 0) {
|
} else if (strcmp(name, "addr") == 0) {
|
||||||
cur->addr = strdup(value);
|
cur->addr = strdup(value);
|
||||||
|
|
Loading…
Reference in New Issue