On Thu, Aug 09, 2018 at 12:01:41PM +0200, Klemens Nanni wrote: > On Wed, Aug 01, 2018 at 01:27:48AM +0200, Klemens Nanni wrote: > > Updated diff bringing this function in line with its counterparts by > > using `mask' the same way. > > > > If a mask was specified, `mask' would always equal to `bits' as returned > > by inet_net_pton(), so avoid the duplicate. > > > > While here, directly use the destination size in memcpy() instead of > > hardcoding its type. > I'd still like to see this in as it makes host_v4() consistent with > host_v6() with regard to `mask' handling. > reads OK to me.