[PATCH procd] instance: dump netdev params

John Crispin john at phrozen.org
Mon Sep 26 11:38:39 PDT 2022



On 26.09.22 20:22, stijn at linux-ipv6.be wrote:
> +	if (!avl_is_empty(&in->netdev.avl)) {
> +		struct blobmsg_list_node *var;
> +		void *n = blobmsg_open_array(b, "netdev");

blank line between declaration and code

> +		blobmsg_list_for_each(&in->netdev, var)
> +			blobmsg_add_string(b, NULL, blobmsg_data(var->data));
> +		blobmsg_close_array(b, n);
> +	}
> +

Acked-by: John Crispin <john at phrozen.org>



More information about the openwrt-devel mailing list