*BSD News Article 48221


Return to BSD News archive

#! rnews 1478 sserve.cc.adfa.oz.au
Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoregon.edu!news.emf.net!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!news.moneng.mei.com!news.ecn.bgu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!oleane!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!wbsmail.zipmail.co.uk!phil
From: Phil Taylor <phil@zipmail.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: corrected a problem in arp (Freebsd 2.0.5R)
Date: Wed, 2 Aug 1995 14:21:39 +0100
Lines: 31
Message-ID: <Pine.SCO.3.91.950802141245.17090A@wbsmail.zipmail.co.uk>
NNTP-Posting-Host: wbsmail.zipmail.co.uk
X-NNTP-Posting-Host: wbsmail.zipmail.co.uk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


I realise that this is probably the wrong group (should be hackers) but I 
have found a problem with the /usr/sbin/arp program.

As I am running the release of 2.0.5R and not a SNAP it has probably been 
fixed - silly fault really it cant read in a file with the -f parameter.

The reason for this is that there isn't a -f parameter !!!!!

The fix is - add an f in line 86 of arp.c (ch=getopt(argc,argv,"andsf"))

at line 103 add :

	case 'f' :
		file(argv[2]);
		exit(0);


It should now work ..... i.e. arp -f /mydir/myarpfile

If this has already been fixed , my apologies :-)


Cheers


Phil
phil@zipmail.co.uk

Just because i'm paranoid, doesn't mean the world isn't out to get me...