Re: [dev] [sdhcp] Part 1/3 Bugs

From: Sean MacLennan <seanm_AT_seanm.ca>
Date: Wed, 14 Nov 2018 20:27:51 -0500

On Wed, 14 Nov 2018 17:13:15 -0800
Michael Forney <mforney_AT_mforney.org> wrote:

> On 2018-11-12, Sean MacLennan <seanm_AT_seanm.ca> wrote:
> > I am surprised you are getting away with binding the socket to the
> > broadcast address.
>
> I found in ip(7):
>
> INADDR_BROADCAST (255.255.255.255) means any host and has the same
> effect on bind as INADDR_ANY for historical reasons.
>
> So that explains why it worked.

Interesting. I obviously hit a case where it doesn't, but that could
be a bug on my side.

> BTW, is there going to be a part 3/3?
>

Part 3/3 relies heavily on part 1/3 being accepted ;)

Cheers,
   Sean
Received on Thu Nov 15 2018 - 02:27:51 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 15 2018 - 02:36:07 CET