lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] mdns needs update in case of passing combination of fla


From: address@hidden
Subject: Re: [lwip-devel] mdns needs update in case of passing combination of flags to reason arg of netif_invoke_ext_callback()
Date: Wed, 7 Feb 2018 20:38:09 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 07.02.2018 02:56, Axel Lin wrote:
Hi,
After commit 734b6ab57a5f (netif: ensure netif_set_addr() only results
in one "ext_status_callback"),
it looks like the reason arg for netif_invoke_ext_callback() can be
set by a combination of flags.
Then the checking in mdns.c needs update because the switch case only
assume one flag to be set.

Fixed, thanks for reporting.

BTW, using enum (netif_nsc_reason_t) seems a little bit confusion as
it's currently means flags.

Fixed that by converting to a typdef and defines.

Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]