mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-01-27 17:17:17 +01:00
Ticket refs #15458: fix permissions
This commit is contained in:
parent
e35c9b8e1e
commit
b6dd7391f2
2 changed files with 2 additions and 2 deletions
|
|
@ -3574,7 +3574,7 @@ int entry_method_root_LANDevice(struct dmctx *ctx)
|
|||
inline int entry_landevice_sub_instance(struct dmctx *ctx, struct uci_section *landevice_section, char *interface, char *idev)
|
||||
{
|
||||
IF_MATCH(ctx, DMROOT"LANDevice.%s.", idev) {
|
||||
DMOBJECT(DMROOT"LANDevice.%s.", ctx, "1", 0, NULL, delete_landevice, NULL, idev);
|
||||
DMOBJECT(DMROOT"LANDevice.%s.", ctx, "0", 0, NULL, delete_landevice, NULL, idev);
|
||||
DMPARAM("Alias", ctx, "1", get_lan_dev_alias, set_lan_dev_alias, NULL, 0, 1, UNDEF, NULL);
|
||||
DMOBJECT(DMROOT"LANDevice.%s.LANHostConfigManagement.", ctx, "0", 1, NULL, NULL, NULL, idev);
|
||||
DMPARAM("DNSServers", ctx, "1", get_lan_dns, set_lan_dns, NULL, 0, 1, UNDEF, NULL);
|
||||
|
|
|
|||
|
|
@ -835,7 +835,7 @@ int entry_method_root_layer3_forwarding(struct dmctx *ctx)
|
|||
inline int entry_layer3_forwarding_instance(struct dmctx *ctx, char *iroute, char *permission)
|
||||
{
|
||||
IF_MATCH(ctx, DMROOT"Layer3Forwarding.Forwarding.%s.", iroute) {
|
||||
DMOBJECT(DMROOT"Layer3Forwarding.Forwarding.%s.", ctx, "1", 1, NULL, delete_layer3_forwarding, NULL, iroute);
|
||||
DMOBJECT(DMROOT"Layer3Forwarding.Forwarding.%s.", ctx, "0", 1, NULL, delete_layer3_forwarding, NULL, iroute);
|
||||
DMPARAM("Enable", ctx, "1", get_layer3_enable, set_layer3_enable, "xsd:boolean", 0, 1, UNDEF, NULL);
|
||||
DMPARAM("Status", ctx, "0", get_layer3_status, NULL, NULL, 0, 1, UNDEF, NULL);
|
||||
DMPARAM("Alias", ctx, "1", get_layer3_alias, set_layer3_alias, NULL, 0, 1, UNDEF, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue