From owner-cvs-usrsbin Tue Nov 19 15:57:18 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17083 for cvs-usrsbin-outgoing; Tue, 19 Nov 1996 15:57:18 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17067; Tue, 19 Nov 1996 15:57:07 -0800 (PST) Date: Tue, 19 Nov 1996 15:57:07 -0800 (PST) From: Bill Paul Message-Id: <199611192357.PAA17067@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rarpd rarpd.8 rarpd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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/ with in network byte order, which is confusing). Also restored use of rather than 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