[Bug 286910] ifconfig(8) crashes when using "netmask" instead of "prefixlen" for inet6 deletion

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 May 2025 18:30:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286910

Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zarychtam@plan-b.pwste.edu.
                   |                            |pl

--- Comment #1 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
Created attachment 260518
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260518&action=edit
fix.netmask.and.brodcast.setting.with.ifconfig.diff

I don't know if we should use "netmask" keyword for prefix length, if so, at
least ifconfig(8) needs to be updated along with this change.

Try this patch. I will prevent segfaults.

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