From c608eb37621c34dde8d54ebb83356ce5ec3a94ec Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 23 Apr 2014 09:17:10 +0000 Subject: [PATCH] missing break; not reachable OK benno@ --- usr.sbin/traceroute/traceroute.c | 3 ++- usr.sbin/traceroute6/traceroute6.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c index 61da6f395a1..015679761d4 100644 --- a/usr.sbin/traceroute/traceroute.c +++ b/usr.sbin/traceroute/traceroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute.c,v 1.122 2014/04/23 09:16:11 florian Exp $ */ +/* $OpenBSD: traceroute.c,v 1.123 2014/04/23 09:20:59 florian Exp $ */ /* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */ /*- @@ -958,6 +958,7 @@ send_probe(int seq, u_int8_t ttl, int iflag, struct sockaddr *to) break; default: errx(1, "unsupported AF: %d", to->sa_family); + break; } if (dump) diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index 3ff95c2cc11..a672f6a26f9 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute6.c,v 1.92 2014/04/23 09:16:11 florian Exp $ */ +/* $OpenBSD: traceroute6.c,v 1.93 2014/04/23 09:17:10 florian Exp $ */ /* $KAME: traceroute6.c,v 1.63 2002/10/24 12:53:25 itojun Exp $ */ /* @@ -754,6 +754,7 @@ send_probe(int seq, u_int8_t hops, int iflag, struct sockaddr *to) break; default: errx(1, "unsupported AF: %d", to->sa_family); + break; } if (dump) -- 2.20.1