]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ss: Mark fall through in arg parsing switch()
authorPhil Sutter <phil@nwl.cc>
Fri, 2 Dec 2016 10:39:45 +0000 (11:39 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 2 Dec 2016 22:07:46 +0000 (14:07 -0800)
As there is a certain chance of overlooking this, better add a comment
to draw readers' attention.

Signed-off-by: Phil Sutter <phil@nwl.cc>
misc/ss.c

index 839781ee29bc94266b70ec5be27e0a13a8a4f37e..5796d800f314dbf637791538847224d3bde478da 100644 (file)
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -4266,6 +4266,7 @@ int main(int argc, char *argv[])
                        exit(0);
                case 'z':
                        show_sock_ctx++;
+                       /* fall through */
                case 'Z':
                        if (is_selinux_enabled() <= 0) {
                                fprintf(stderr, "ss: SELinux is not enabled.\n");