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:
Maxim Osipov 2012-05-15 21:25:14 +01:00 committed by Mariano Alvira
parent c1b318356e
commit f2f6a7bd53

View file

@ -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);