Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sbin/route Pull up following revision(s) (requested by ro...
details: https://anonhg.NetBSD.org/src/rev/5b59e588cdde
branches: netbsd-9
changeset: 454096:5b59e588cdde
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 05 08:43:42 2019 +0000
description:
Pull up following revision(s) (requested by roy in ticket #172):
sbin/route/route.c: revision 1.163
route(8): Show addres for RTM_LOSING
While here, add /* FALLTHROUGH */.
diffstat:
sbin/route/route.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r 80c3d652385d -r 5b59e588cdde sbin/route/route.c
--- a/sbin/route/route.c Thu Sep 05 08:35:57 2019 +0000
+++ b/sbin/route/route.c Thu Sep 05 08:43:42 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.160.2.2 2019/09/01 14:13:46 martin Exp $ */
+/* $NetBSD: route.c,v 1.160.2.3 2019/09/05 08:43:42 martin Exp $ */
/*
* Copyright (c) 1983, 1989, 1991, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: route.c,v 1.160.2.2 2019/09/01 14:13:46 martin Exp $");
+__RCSID("$NetBSD: route.c,v 1.160.2.3 2019/09/05 08:43:42 martin Exp $");
#endif
#endif /* not lint */
@@ -1459,10 +1459,11 @@
}
printf("\n");
break;
- case RTM_ADD:
- case RTM_CHANGE:
- case RTM_DELETE:
- case RTM_GET:
+ case RTM_ADD: /* FALLTHROUGH */
+ case RTM_CHANGE: /* FALLTHROUGH */
+ case RTM_DELETE: /* FALLTHROUGH */
+ case RTM_GET: /* FALLTHROUGH */
+ case RTM_LOSING: /* FALLTHROUGH */
case RTM_MISS:
(void)printf("pid %d, seq %d, errno %d, flags: ",
rtm->rtm_pid, rtm->rtm_seq, rtm->rtm_errno);
Home |
Main Index |
Thread Index |
Old Index