mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Device.IP.Interface.{i}.IPv6Prefix.{i}.Origin: fix its invalid value DHCPv6 -> PrefixDelegation
This commit is contained in:
parent
75759e1c6e
commit
15ed15c476
1 changed files with 1 additions and 1 deletions
|
|
@ -2047,7 +2047,7 @@ static int get_IPInterfaceIPv6Prefix_Origin(char *refparam, struct dmctx *ctx, v
|
|||
} else {
|
||||
char *proto = NULL;
|
||||
dmuci_get_value_by_section_string(((struct intf_ip_args *)data)->interface_sec, "proto", &proto);
|
||||
*value = (proto && strcmp(proto, "dhcpv6") == 0) ? "DHCPv6" : "Static";
|
||||
*value = (proto && strcmp(proto, "dhcpv6") == 0) ? "PrefixDelegation" : "Static";
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue