summaryrefslogtreecommitdiff
path: root/traceroute6.c
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2019-06-09 22:57:21 +0200
committerSami Kerola <kerolasa@iki.fi>2019-06-10 21:17:30 +0100
commit45257ac4ad8a68763a3699b2d47555b5cf279452 (patch)
tree7a1c579e78ccbafc8b657c59fa24efc51d441355 /traceroute6.c
parent81d0f03d53138b3e100f60a50da50ec946ca866c (diff)
downloadiputils-45257ac4ad8a68763a3699b2d47555b5cf279452.tar.gz
common: move various fallback definitions into iputils_common.h
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'traceroute6.c')
-rw-r--r--traceroute6.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/traceroute6.c b/traceroute6.c
index 6c06972..880425d 100644
--- a/traceroute6.c
+++ b/traceroute6.c
@@ -254,9 +254,6 @@
#include "iputils_common.h"
#ifdef USE_IDN
-# ifndef NI_IDN
-# define NI_IDN 32
-# endif
# define ADDRINFO_IDN_FLAGS AI_IDN
# define getnameinfo_flags NI_IDN
#else
@@ -264,10 +261,6 @@
# define ADDRINFO_IDN_FLAGS 0
#endif
-#ifndef SOL_IPV6
-# define SOL_IPV6 IPPROTO_IPV6
-#endif
-
enum {
DEFAULT_PROBES = 3,
DEFAULT_HOPS = 30,