mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-12 03:58:34 +01:00
Fix get value of "Device.Routing.Router.{i}.IPv4Forwarding.{i}.ForwardingMetric" and "Device.Routing.Router.{i}.IPv4Forwarding.{i}.GatewayIPAddress" parameters
This commit is contained in:
parent
100d5498d5
commit
e0b08ff533
1 changed files with 3 additions and 0 deletions
|
|
@ -212,6 +212,9 @@ static struct uci_section *update_route_dynamic_section(struct proc_routing *pro
|
|||
DMUCI_ADD_SECTION(icwmpd, "dmmap_route_forwarding", "route_dynamic", &s, &name);
|
||||
DMUCI_SET_VALUE_BY_SECTION(icwmpd, s, "target", proute->destination);
|
||||
DMUCI_SET_VALUE_BY_SECTION(icwmpd, s, "netmask", proute->mask);
|
||||
DMUCI_SET_VALUE_BY_SECTION(icwmpd, s, "metric", proute->metric);
|
||||
DMUCI_SET_VALUE_BY_SECTION(icwmpd, s, "gateway", proute->gateway);
|
||||
DMUCI_SET_VALUE_BY_SECTION(icwmpd, s, "interface", proute->iface);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue