[Bug 258874] route add -inet 240/4 results in 0.0.0.0/4 127.0.0.1 UGRS lo0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Oct 2021 18:28:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258874 --- Comment #5 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> --- (In reply to Mike Karels from comment #4) I was expecting the same result (0.0.0.0.0/4, 240 == 0.0.0.240 != 240.0.0.0), but I have checked and it came out that for FreeBSD 12 and earlier 240 is 240.0.0.0 Test: route add -net 240/32 localhost -blackhole netstat -4rn |grep 240 FreeBSD 12.2 and earlier: 240.0.0.0/32 127.0.0.1 UGSB lo0 FreeBSD 13.0 and later: 0.0.0.240 127.0.0.1 UGHSB lo0 Linux and FreeBSD 13.0 network stack work the same in this case and IMHO as expected. Was the old behavior introduced due to any reasons or was it a bug? -- You are receiving this mail because: You are the assignee for the bug.