From owner-cvs-all Wed Jan 31 9:43:39 2001 Delivered-To: cvs-all@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 3451B37B65D; Wed, 31 Jan 2001 09:43:16 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id JAA03025; Wed, 31 Jan 2001 09:43:14 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.9.3/8.9.3) id JAA27554; Wed, 31 Jan 2001 09:43:14 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200101311743.JAA27554@curve.dellroad.org> Subject: Re: cvs commit: src/usr.sbin/arp arp.8 arp.c In-Reply-To: <20010131105214.C3662@sunbay.com> "from Ruslan Ermilov at Jan 31, 2001 10:52:14 am" To: Ruslan Ermilov Date: Wed, 31 Jan 2001 09:43:14 -0800 (PST) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ruslan Ermilov writes: > > Modified files: > > usr.sbin/arp arp.8 arp.c > > Log: > > Fix documentation: "proxy" is not a keyword for the arp(8) command line. > > > It definitely WAS, the other question what it was supposed to do: > > /* > * Delete an arp entry > */ > int > delete(char *host, char *info) > { > struct hostent *hp; > register struct sockaddr_inarp *sin = &sin_m; > register struct rt_msghdr *rtm = &m_rtmsg.m_rtm; > struct sockaddr_dl *sdl; > if (info && strncmp(info, "pro", 3) ) > ^^^ > export_only = 1; Hmm.. yeah, it doesn't seem to actually be required for anything.. $ arp -s 192.168.0.111 0:1:2:3:4:5 $ arp 192.168.0.111 dhcp-168-0-111.packetdesign.com (192.168.0.111) at 0:1:2:3:4:5 permanent [ethernet] $ arp -d 192.168.0.111 192.168.0.111 (192.168.0.111) deleted $ arp 192.168.0.111 192.168.0.111 (192.168.0.111) -- no entry $ arp -s 192.168.0.111 0:1:2:3:4:5 pub $ arp 192.168.0.111 dhcp-168-0-111.packetdesign.com (192.168.0.111) at 0:1:2:3:4:5 permanent published [ethernet] $ arp -d 192.168.0.111 192.168.0.111 (192.168.0.111) deleted $ arp 192.168.0.111 192.168.0.111 (192.168.0.111) -- no entry -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message