mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add break's to case blocks.
PR: bin/41511 Submitted by: Daniel Hagan <dhagan@acm.vt.edu>
This commit is contained in:
parent
0da7370593
commit
2f92b79ff6
1 changed files with 2 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ main(int ac, char *av[])
|
|||
set_dev(dev_name);
|
||||
} else
|
||||
cleanup(-1);
|
||||
break;
|
||||
case SNP_DETACH:
|
||||
case SNP_TTYCLOSE:
|
||||
if (opt_reconn_close)
|
||||
|
|
@ -415,6 +416,7 @@ main(int ac, char *av[])
|
|||
set_dev(dev_name);
|
||||
} else
|
||||
cleanup(-1);
|
||||
break;
|
||||
default:
|
||||
nread = (unsigned)idata;
|
||||
if (nread < (b_size / 2) && (b_size / 2) > MIN_SIZE) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue