lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Confusion about udp_sendto_if()


From: address@hidden
Subject: Re: [lwip-users] Confusion about udp_sendto_if()
Date: Mon, 2 Oct 2017 19:44:12 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Jeffle Xu wrote:
I think it is valid to send the packet with source address 192.168.19.18 using netif1. However it will fail in
udp_sendto_if().

I’m confused about the logic and would appreciate it if someone could tell me that I’ve missed something.

The old rule was that having 2 netifs on the same subnet is not supported.
And since udp does not have an "err" callback, the code you mentioned is the only place where pcbs are checked for old addresses (IPv4, at least).

Would you mind adding a bug entry so we can think discuss this further?

Thanks,
Simon

reply via email to

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