Remove case labels we will never trigger due to filtering.
This commit is contained in:
parent
7d6ca5ebbe
commit
1914784e96
@ -1,6 +1,6 @@
|
||||
/* $NetBSD: ifwatchd.c,v 1.42 2017/04/11 14:21:35 roy Exp $ */
|
||||
/* $NetBSD: ifwatchd.c,v 1.43 2018/03/07 10:06:41 roy Exp $ */
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: ifwatchd.c,v 1.42 2017/04/11 14:21:35 roy Exp $");
|
||||
__RCSID("$NetBSD: ifwatchd.c,v 1.43 2018/03/07 10:06:41 roy Exp $");
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
|
||||
@ -267,18 +267,8 @@ dispatch(const void *msg, size_t len)
|
||||
case RTM_IFINFO:
|
||||
check_carrier(msg);
|
||||
break;
|
||||
case RTM_ADD:
|
||||
case RTM_DELETE:
|
||||
case RTM_CHANGE:
|
||||
case RTM_LOSING:
|
||||
case RTM_REDIRECT:
|
||||
case RTM_MISS:
|
||||
case RTM_IEEE80211:
|
||||
case RTM_ONEWADDR:
|
||||
case RTM_ODELADDR:
|
||||
case RTM_OCHGADDR:
|
||||
break;
|
||||
default:
|
||||
/* Should be impossible as we filter messages. */
|
||||
if (verbose)
|
||||
printf("unknown message ignored (%d)\n", hd->rtm_type);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user