mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-14 21:20:28 +01:00
Routing: use 'l3_device' instead of 'device' to find the corresponding interface for dynamic routes
This commit is contained in:
parent
a3afc20ea8
commit
54e296a989
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ static int dmmap_synchronizeRoutingRouterIPv4Forwarding(struct dmctx *dmctx, DMN
|
|||
fclose(fp);
|
||||
return 0;
|
||||
}
|
||||
str = dmjson_get_value(jobj, 1, "device");
|
||||
str = dmjson_get_value(jobj, 1, "l3_device");
|
||||
if (strcmp(str, proute.iface) == 0) {
|
||||
iface = section_name(s);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue