X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=b7071a11c3874dff8fbbcf19ce7629e35704593f;hp=a1f4ce35f97a10bba7f00561d8b1cb4eed915efb;hb=4fb6a564b8eebe01f46766b8238a64d6414ed3ba;hpb=29bdad8620257c45dcbff5d15f26ac0b61c7b419 diff --git a/cli.c b/cli.c index a1f4ce3..b7071a1 100644 --- a/cli.c +++ b/cli.c @@ -357,7 +357,7 @@ static int uci_do_section_cmd(int cmd, int argc, char **argv) ret = uci_revert(ctx, &ptr); break; case CMD_SET: - ret = uci_set(ctx, ptr.p, ptr.section, ptr.option, ptr.value, NULL); + ret = uci_set(ctx, &ptr); break; case CMD_ADD_LIST: ret = uci_add_list(ctx, &ptr);