summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay/bpf.c
AgeCommit message (Collapse)Author
2008-09-15Sync with dhcpd. Do not use < 0 to check for failed syscalls use == -1Claudio Jeker
instead. OK henning@
2006-12-18warn() -> warning() to not overload with libc function; this hasKevin Steves
previously been done to dhclient and dhcpd
2004-04-20set write filter and lock the bpf descriptor after configuration.Can Erkin Acar
ok henning@
2004-04-20get rid of the -p switch, use fixed values for server and client ports,Can Erkin Acar
rename port variables for clarity. ok henning@
2004-04-20more shrinking; ok henningTheo de Raadt
2004-04-12initial cut at split out dhcrelay, whacked from usr.sbin/dhcp/ and sbin/dhclientHenning Brauer