9886 libresolv2: fix fallthrough in ns_sprintrrf()
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Dan McDonald <danmcd@joyent.com>
diff --git a/usr/src/lib/libresolv2/common/nameser/ns_print.c b/usr/src/lib/libresolv2/common/nameser/ns_print.c
index a311051..fc228e7 100644
--- a/usr/src/lib/libresolv2/common/nameser/ns_print.c
+++ b/usr/src/lib/libresolv2/common/nameser/ns_print.c
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-1999 by Internet Software Consortium.
+ * Copyright 2018 Joyent, Inc.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -894,8 +895,8 @@
if (len > 15)
T(addstr(" )", 2, &buf, &buflen));
}
+ break;
}
- /* FALLTHROUGH */
case ns_t_ipseckey: {
int n;
@@ -986,8 +987,8 @@
if (len > 15)
T(addstr(" )", 2, &buf, &buflen));
}
+ break;
}
- /* FALLTHROUGH */
case ns_t_hip: {
unsigned int i, hip_len, algorithm, key_len;