mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
MDNS: Minor compile fix, declare variables before code
This commit is contained in:
parent
405fc4d802
commit
2adc6d2687
@ -796,10 +796,12 @@ mdns_parse_pkt_authoritative_answers(struct netif *netif, struct mdns_packet *pk
|
||||
static void
|
||||
mdns_add_msg_to_delayed(struct mdns_outmsg *dest, struct mdns_outmsg *src)
|
||||
{
|
||||
int i;
|
||||
|
||||
dest->host_questions |= src->host_questions;
|
||||
dest->host_replies |= src->host_replies;
|
||||
dest->host_reverse_v6_replies |= src->host_reverse_v6_replies;
|
||||
for (int i = 0; i < MDNS_MAX_SERVICES; i++) {
|
||||
for (i = 0; i < MDNS_MAX_SERVICES; i++) {
|
||||
dest->serv_questions[i] |= src->serv_questions[i];
|
||||
dest->serv_replies[i] |= src->serv_replies[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user