[Bug 252596] ping to 255.255.255.255 does not set broadcast MAC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Jul 2022 22:08:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252596
Mike Karels <karels@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karels@freebsd.org
--- Comment #5 from Mike Karels <karels@freebsd.org> ---
There is a documented way to broadcast using INADDR_BROADCAST (all ones), and
it explicitly specifies the outgoing interface. See IP_SENDONES in ip(4). In
short, you set the IP_SENDONES option, then send to the desired interface's
configured broadcast address (e.g. 192.168.122.255).
--
You are receiving this mail because:
You are the assignee for the bug.