6 Feb
2026
6 Feb
'26
6:27 a.m.
On 2/6/26 16:03, Jonathon Jongsma wrote:
On 2/6/26 7:52 AM, Michal Privoznik via Devel wrote:
From: Michal Privoznik <mprivozn@redhat.com>
The aim of this helper is to convert subnet mask to prefix. For instance for input "255.0.0.0" to return 0. Additionally, if the
Just FYI, this comment doesn't seem to match the implementation or the tests. You have a test defined for 255.0.0.0 where the expected return value is 8, which makes sense.
Ooops, yes. A typo. Fixed locally. Thanks! Michal