[OpenWrt-Devel] [PATCH 1/2] [netifd] multicast flag control

Felix Fietkau nbd at openwrt.org
Sun Nov 22 07:09:45 EST 2015


On 2015-11-19 20:51, Podolak, Nicholas wrote:
> Original patchset was not applying correctly.  My bad.
> 
> Let's try this again.
Please don't include things like this in the patch description part.

> Signed-off-by: Nick Podolak <nicholas.podolak at dtechlabs.com>
> 
> ---
>  device.c       |  9 +++++++++
>  device.h       |  3 +++
>  system-linux.c | 10 ++++++++++
>  3 files changed, 22 insertions(+)
> 
> diff --git a/device.c b/device.c
> index 6dc4fa9..b755d05 100644
> --- a/device.c
> +++ b/device.c
> @@ -40,6 +40,7 @@ static const struct blobmsg_policy dev_attrs[__DEV_ATTR_MAX] = {
>  	[DEV_ATTR_ENABLED] = { .name = "enabled", .type = BLOBMSG_TYPE_BOOL },
>  	[DEV_ATTR_IPV6] = { .name = "ipv6", .type = BLOBMSG_TYPE_BOOL },
>  	[DEV_ATTR_PROMISC] = { .name = "promisc", .type = BLOBMSG_TYPE_BOOL },
> +	[DEV_ATTR_MULTICAST] = { .name = "multicast", .type = 
> +BLOBMSG_TYPE_BOOL },
Line wrapping here is broken.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list