freebsd-src/usr.sbin/rarpd
Bill Paul 7632575be6 Although I got rarpd to work, it was largely through kludgery. Bill
Fenner was kind enough to point out the error of my ways. This incorporates
diffs from him which:

- Keep everything in network order.
- Log the booted ether & ip address, instead of my address on that net
- change several exit()'s to return()'s, so that rarpd continues running
  even if it thinks it's in a weird state.

One small tweak by me: in rarp_bootable(), we have to make sure to
construct 'ipname' in host byte order (if we don't, we have to
specify /tftpboot/<remote IP in hex> with <remote IP in hex> in
network byte order, which is confusing).

Also restored use of <dirent.h> rather than <sys/dir.h> as pointed
out by bde.

Also updated the man page so that the -v flag is documented.

With any luck, I won't have to touch this thing again.
1996-11-19 23:57:06 +00:00
..
Makefile Fix up new rarpd. 1996-11-18 22:07:41 +00:00
rarpd.8 Although I got rarpd to work, it was largely through kludgery. Bill 1996-11-19 23:57:06 +00:00
rarpd.c Although I got rarpd to work, it was largely through kludgery. Bill 1996-11-19 23:57:06 +00:00