[klibc] ipconfig: fails to parse 255.255.255.255 as netmask

Thorsten Glaser tg at mirbsd.de
Sun Oct 1 20:05:46 PDT 2023


I think the…
	if (template->ip_netmask != INADDR_NONE)
… check there is bogus.

If specifying 255.255.255.255 as netmask, it guesses instead.
(And I’m not too sure why it still wants a broadcast address
in those cases…)

bye,
//mirabilos
-- 
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
	(as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)



More information about the klibc mailing list