Commit graph

4 commits

Author SHA1 Message Date
Tilman Keskinoz
81867ee817 print IP address with inet_ntoa() when printing the details of
a received ICMP packet. This fixes a segfault on amd64

Obtained from: ping.c 1.28

#include signal.h instead of sys/signal.h

Obtained from: NetBSD

Fix a few Warnings while I'm here.
2004-08-15 17:02:25 +00:00
Kirill Ponomarev
7fe387f629 - Update to version 1.0.5
PR:		59911
Submitted by:	Kimura Fuyuki <fuyuki@nigredo.org>
2003-12-04 19:21:05 +00:00
Kris Kennaway
300b9195a7 Open the raw socket early and then drop setuid root privileges. Bump
PORTREVISION.

Obtained from:	OpenBSD
2003-06-15 01:25:08 +00:00
Kris Kennaway
f8f4645dd1 This is a setuid root binary. sprintf()s of DNS hostnames into undersized
buffers are bad. Fix this. It should also drop privileges for extra
safety, but doesn't.
2000-03-05 05:30:54 +00:00