[Bug 276092] "route add 10/8 ip" adds 0.0.0.0/8, not 10.0.0.0/8

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Jan 2024 14:26:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276092

Mike Karels <karels@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karels@freebsd.org

--- Comment #2 from Mike Karels <karels@freebsd.org> ---
I have a change to route to detect this error and complain about it.  In
response to "route add 10.8 ip", it prints this and exits non-zero:

route: malformed address, bits set after mask; 10 means 0.0.0.10

Comments?  I'll put the change into review soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.