diff options
author | hrs <hrs@FreeBSD.org> | 2014-09-20 19:54:19 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-09-20 19:54:19 +0000 |
commit | b5317f446c89bf8c463168131bc2a5d1cc72ac73 (patch) | |
tree | c695dc0c6df36fa5623eafb2de5920a2f8a90a12 /sbin/ping6/Makefile | |
parent | 44e120581bb41cd1af0e55ad630b69e1385343f9 (diff) | |
download | FreeBSD-src-b5317f446c89bf8c463168131bc2a5d1cc72ac73.zip FreeBSD-src-b5317f446c89bf8c463168131bc2a5d1cc72ac73.tar.gz |
Fix a problem that reply packets are not received when -i T option is set
and (T < RTT).
- Use select(2) for timeout instead of interval timer. Remove poll(2) support.
- Use sigaction(2) instead of signal(3).
- Exit in SIGINT handler when two signals are received and doing reverse DNS
lookup as ping(8) does.
- Remove redundant variables used for getaddrinfo(3).
PR: 151023
Diffstat (limited to 'sbin/ping6/Makefile')
-rw-r--r-- | sbin/ping6/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile index 89e7fbe..7f3a008 100644 --- a/sbin/ping6/Makefile +++ b/sbin/ping6/Makefile @@ -4,7 +4,7 @@ PROG= ping6 MAN= ping6.8 CFLAGS+=-DIPSEC -DKAME_SCOPEID -DUSE_RFC2292BIS \ - -DHAVE_POLL_H -DHAVE_ARC4RANDOM + -DHAVE_ARC4RANDOM WARNS?= 2 BINOWN= root |