summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipaddrcheck.c')
-rw-r--r--src/ipaddrcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipaddrcheck.c b/src/ipaddrcheck.c
index 9c07040..173e6d0 100644
--- a/src/ipaddrcheck.c
+++ b/src/ipaddrcheck.c
@@ -138,6 +138,7 @@ int main(int argc, char* argv[])
break;
case 'g':
action = IS_IPV4_NET;
+ break;
case 'h':
action = IS_IPV4_BROADCAST;
break;
@@ -203,7 +204,6 @@ int main(int argc, char* argv[])
fprintf(stderr, "Error: invalid option\n");
print_help(program_name);
return(RESULT_INT_ERROR);
- break;
}
if( no_action != NO_ACTION )