summaryrefslogtreecommitdiffstats
path: root/plugins/check_fping.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-03-12 19:56:43 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-04-18 00:18:07 +0200
commitf7687d47cb0841d0bc12ef205fcbaef8bf2e3805 (patch)
tree775d3dc69ae69bff4c57c41bbdfaea3e7086ab6d /plugins/check_fping.c
parent41fb615f3de34c3b3a344e74fd9cc24936cd58a6 (diff)
downloadmonitoring-plugins-f7687d47cb0841d0bc12ef205fcbaef8bf2e3805.tar.gz
Fixes for -Wimplicit-fallthrough
Diffstat (limited to 'plugins/check_fping.c')
-rw-r--r--plugins/check_fping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index 6f5656ef..23a9e990 100644
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -354,6 +354,7 @@ process_arguments (int argc, char **argv)
354 break; 354 break;
355 case 'I': /* sourceip */ 355 case 'I': /* sourceip */
356 sourceif = strscpy (sourceif, optarg); 356 sourceif = strscpy (sourceif, optarg);
357 break;
357 case '4': /* IPv4 only */ 358 case '4': /* IPv4 only */
358 address_family = AF_INET; 359 address_family = AF_INET;
359 break; 360 break;