mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
tunslip6: disable IP address inquiry by default. Document -I flag
This commit is contained in:
parent
30f69b0852
commit
a9a46b29cc
@ -701,7 +701,7 @@ main(int argc, char **argv)
|
||||
const char *port = NULL;
|
||||
const char *prog;
|
||||
int baudrate = -2;
|
||||
int ipa_enable = 1;
|
||||
int ipa_enable = 0;
|
||||
int tap = 0;
|
||||
slipfd = 0;
|
||||
|
||||
@ -735,8 +735,8 @@ main(int argc, char **argv)
|
||||
break;
|
||||
|
||||
case 'I':
|
||||
ipa_enable = 0;
|
||||
fprintf(stderr, "Will not inquire about IP address using IPA=\n");
|
||||
ipa_enable = 1;
|
||||
fprintf(stderr, "Will inquire about IP address using IPA=\n");
|
||||
break;
|
||||
|
||||
case 't':
|
||||
@ -781,6 +781,7 @@ fprintf(stderr," -B baudrate 9600,19200,38400,57600,115200 (default),230400,4
|
||||
fprintf(stderr," -B baudrate 9600,19200,38400,57600,115200 (default),230400\n");
|
||||
#endif
|
||||
fprintf(stderr," -H Hardware CTS/RTS flow control (default disabled)\n");
|
||||
fprintf(stderr," -I Inquire IP address\n");
|
||||
fprintf(stderr," -L Log output format (adds time stamps)\n");
|
||||
fprintf(stderr," -s siodev Serial device (default /dev/ttyUSB0)\n");
|
||||
fprintf(stderr," -T Make tap interface (default is tun interface)\n");
|
||||
|
Loading…
Reference in New Issue
Block a user