Commit Graph

21 Commits

Author SHA1 Message Date
lukem 12c67164dc * use MAXHOSTNAMELEN+1 instead of 256
* don't use LOG_CONS - it's unnecessary and spams the console if syslogd
  fails (a bad thing, really)

From [misc/873] by Giles Lean <giles@nemeton.com.au>:
* explain why the name lookup failed
* always send debug() via syslog(3) (unlike the PR, which added a -s flag)
* enhance the man page a bit (even in the commented out section which
  is only relevant to the -DREQUIRE_TFTPBOOT case
1997-06-21 14:30:03 +00:00
lukem 885db8b7ed remove unnecessary CFLAGS+=-I${.CURDIR} and SRCS=rarpd.c 1997-06-21 14:23:57 +00:00
cgd b241147c80 fix some u_long vs. u_int32_t bogons in uses of nameserver lookup results. 1997-03-23 00:48:15 +00:00
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
is 4ce26afebe back out previoius commit---wasn't intended for The Trunk 1997-03-10 19:26:23 +00:00
is 0edaa1c1e5 adapt to new ARP code. still needs work for non-Ethernet. 1997-03-10 19:18:42 +00:00
mikel c792bb5960 cast ether_ntohost() argument to proper type;
from Klaus Klein <kleink@layla.inka.de>
1997-01-18 02:22:21 +00:00
jtc cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
mycroft cbbb28608c If __FreeBSD__, don't swap the type field in the Ethernet II header. 1996-02-01 21:57:00 +00:00
hpeyerl a2db59e20a interface aliases don't count as individual interfaces and hence don't
need a seperate bpf. Someone should decide whether to tell netstat
about this.
1996-01-31 20:25:31 +00:00
thorpej f90cf6bd46 New-style RCS id. 1995-11-17 09:49:19 +00:00
thorpej c78a02a75a Make the "/tftpboot/<client-ip-address>" requirement conditional on
-DREQUIRE_TFTPBOOT and disable it by default.
1995-09-01 21:55:44 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
mycroft c976295cf8 Look up the ether addresses of interfaces *correctly*, and just ditch
SIOCSARP altogether.
1994-05-25 20:01:15 +00:00
cgd 75f79c7821 rename constants 1994-05-14 21:57:56 +00:00
cgd 7a6e889600 kill bad casts 1994-03-30 02:28:43 +00:00
cgd 62a75460c6 put ar_hrd in network byte order. from
Christos Zoulas <christos@deshaw.com>
1994-03-01 06:46:42 +00:00
deraadt 0758ab6ba7 bpf writes for ethernet take a network byte order ether_type 1994-01-24 01:46:29 +00:00
jtc 2a4121e39d Fix spelling errors 1994-01-14 16:22:25 +00:00
deraadt 218153c3df remove the faster replacement for inet_ntoa because the stupid thing
is byte order dependent.
1994-01-12 19:01:00 +00:00
deraadt e3b965f6db original from LBL (part of the tcpdump distrib)
SIOCGIFCONF fixup by Roland McGrath <roland@frob.com>
1993-12-16 05:31:05 +00:00