On 26 August 2015 at 18:13, Alexander Couzens <[email protected]> wrote:
> similiar to import from uci cli.
> import removes all old configs and import the new config.
>
> example:
> ubus call uci import \
>   '{"config": "dhcp", "values": { "srv": { ".type": "host", ".name": "srv", 
> "mac": "00:11:22:33:44:55", "ip": "192.168.1.2" } } }'

There is a spaces vs. tabs mess. Please stick to the coding style
already used in the project.

You didn't use tabs in most of the code and rpc_uci_import looks like
a random mix of both.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to