Date: Tue, 19 Nov 1996 15:57:07 -0800 (PST) From: Bill Paul <wpaul> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rarpd rarpd.8 rarpd.c Message-ID: <199611192357.PAA17067@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 96/11/19 15:57:07
Modified: usr.sbin/rarpd rarpd.8 rarpd.c
Log:
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.
Revision Changes Path
1.4 +12 -12 src/usr.sbin/rarpd/rarpd.8
1.10 +43 -36 src/usr.sbin/rarpd/rarpd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611192357.PAA17067>
