Module: monitoring-plugins Branch: check_dhcp_rogue_detection Commit: ec9ed2526510b2313095a09185ef598667a86722 Author: Lorenz Kästle <12514511+rincewinds...@users.noreply.github.com> Date: Tue Oct 3 12:20:24 2023 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ec9ed25
Some code formatting --- plugins-root/check_dhcp.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 049268f..ee794b4 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c @@ -1141,12 +1141,12 @@ int call_getopt(int argc, char **argv){ break; - case 'u': /* unicast testing */ - unicast=true; - break; - case 'x': /* exclusive testing aka "rogue DHCP server detection" */ - exclusive=true; - break; + case 'u': /* unicast testing */ + unicast=true; + break; + case 'x': /* exclusive testing aka "rogue DHCP server detection" */ + exclusive=true; + break; case 'V': /* version */ print_revision(progname, NP_VERSION); @@ -1411,4 +1411,4 @@ print_usage(void){ printf (" [-i interface] [-m mac]\n"); return; - } +}