Fix command line handling in tunslip6
Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com> Signed-off-by: Mariano Alvira <mar@devl.org>
This commit is contained in:
parent
c1b318356e
commit
f2f6a7bd53
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ main(int argc, char **argv)
|
|||
prog = argv[0];
|
||||
setvbuf(stdout, NULL, _IOLBF, 0); /* Line buffered output. */
|
||||
|
||||
while((c = getopt(argc, argv, "B:H:D:Lhs:t:v::d::a:p:T")) != -1) {
|
||||
while((c = getopt(argc, argv, "B:HLhs:t:v::d::a:p:T")) != -1) {
|
||||
switch(c) {
|
||||
case 'B':
|
||||
baudrate = atoi(optarg);
|
||||
|
|
Loading…
Reference in a new issue