From owner-cvs-sbin Mon Mar 3 01:44:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA17172 for cvs-sbin-outgoing; Mon, 3 Mar 1997 01:44:22 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA17164; Mon, 3 Mar 1997 01:44:20 -0800 (PST) Date: Mon, 3 Mar 1997 01:44:20 -0800 (PST) From: Warner Losh Message-Id: <199703030944.BAA17164@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ping ping.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/03 01:44:20 Modified: sbin/ping ping.c Log: Backport changes from current: 1) getopt returnes -1 and remove 'h:' that isn't needed 2) -l needs super user now to work 3) check to make sure that address returned from gethostbyname will fit in sin_addr 4) Fix minor strncpy bug. 5) Don't leak information about ICMP packets that aren't for you, unless superuser. Revision Changes Path 1.8.2.8 +12 -3 src/sbin/ping/ping.c