From 52c791cd3a3da9a64852a78a8d2537ae8e5ad7fe Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Wed, 29 Jun 2016 18:59:52 +0200 Subject: [PATCH] Fix IPv6 stuff. Thanks to bz@ for providing a hint how to work around a FreeBSD bug. --- gtests/net/packetdrill/netdev.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtests/net/packetdrill/netdev.c b/gtests/net/packetdrill/netdev.c index 52f1a8b9..d4ac7c80 100644 --- a/gtests/net/packetdrill/netdev.c +++ b/gtests/net/packetdrill/netdev.c @@ -267,11 +267,7 @@ static void route_traffic_to_device(struct config *config, } else if (config->wire_protocol == AF_INET6) { asprintf(&route_command, "route delete -inet6 %s > /dev/null 2>&1 ; " -#if defined(__FreeBSD__) - "route add -inet6 %s -interface tun0 %s > /dev/null", -#elif defined(__OpenBSD__) || defined(__NetBSD__) "route add -inet6 %s %s > /dev/null", -#endif config->live_remote_prefix_string, config->live_remote_prefix_string, config->live_gateway_ip_string); -- GitLab