[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Kevin Steves <stevesk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 27 Nov 2006 12:32:17 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: stevesk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/11/27 12:32:17
Modified files:
sbin/dhclient : bpf.c dhcpd.h
Log message:
Recognize when we are sending to a unicast destination IP address and
instead of using BPF, which currently will always set the destination
MAC to broadcast, send using a SOCK_RAW socket and sendmsg() so the
frame has a unicast destination MAC.
Fixes an issue when using a bootp forwarder where unicast DHCPREQUESTs
are dropped at the router/gateway until we reach T2/REBINDING and
change the destination IP to broadcast.
ok henning@ (but doesn't like using a raw socket for this)
Visit your host, monkey.org