Re: [OpenWrt-Devel] [PATCH v2 netifd] interface-ip: Fix broadcast address when using /31 or /32 IPv4 addressing

2015-09-26 Thread Baptiste Jonglez
nbd, did you have time to look at this new version of the patch? Thanks, Baptiste On Mon, Sep 14, 2015 at 12:25:33PM +0200, Baptiste Jonglez wrote: > From: Baptiste Jonglez > > A /31-addressed interface requires a broadcast address of 255.255.255.255, > because there

[OpenWrt-Devel] [PATCH v2 netifd] interface-ip: Fix broadcast address when using /31 or /32 IPv4 addressing

2015-09-14 Thread Baptiste Jonglez
From: Baptiste Jonglez A /31-addressed interface requires a broadcast address of 255.255.255.255, because there is no room for a proper broadcast address. Without this, any packet destinated to the other end of the link is sent as broadcast, which is incorrect. For