mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-20 10:35:34 +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 *port = NULL;
|
||||||
const char *prog;
|
const char *prog;
|
||||||
int baudrate = -2;
|
int baudrate = -2;
|
||||||
int ipa_enable = 1;
|
int ipa_enable = 0;
|
||||||
int tap = 0;
|
int tap = 0;
|
||||||
slipfd = 0;
|
slipfd = 0;
|
||||||
|
|
||||||
@ -735,8 +735,8 @@ main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'I':
|
case 'I':
|
||||||
ipa_enable = 0;
|
ipa_enable = 1;
|
||||||
fprintf(stderr, "Will not inquire about IP address using IPA=\n");
|
fprintf(stderr, "Will inquire about IP address using IPA=\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 't':
|
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");
|
fprintf(stderr," -B baudrate 9600,19200,38400,57600,115200 (default),230400\n");
|
||||||
#endif
|
#endif
|
||||||
fprintf(stderr," -H Hardware CTS/RTS flow control (default disabled)\n");
|
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," -L Log output format (adds time stamps)\n");
|
||||||
fprintf(stderr," -s siodev Serial device (default /dev/ttyUSB0)\n");
|
fprintf(stderr," -s siodev Serial device (default /dev/ttyUSB0)\n");
|
||||||
fprintf(stderr," -T Make tap interface (default is tun interface)\n");
|
fprintf(stderr," -T Make tap interface (default is tun interface)\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user