toolbox: Make that 'pointopoint' instead of 'pointtopoint'

Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
San Mehat 2009-05-13 12:01:52 -07:00
parent 94447ca34b
commit 0389a1297d
1 changed files with 2 additions and 2 deletions

View File

@ -126,9 +126,9 @@ int ifconfig_main(int argc, char *argv[])
while(argc > 0){
if(!strcmp(argv[0], "up")) {
setflags(s, &ifr, IFF_UP, 0);
} else if(!strcmp(argv[0], "-pointtopoint")) {
} else if(!strcmp(argv[0], "-pointopoint")) {
setflags(s, &ifr, IFF_POINTOPOINT, 1);
} else if(!strcmp(argv[0], "pointtopoint")) {
} else if(!strcmp(argv[0], "pointopoint")) {
argc--, argv++;
if (0 == argc) {
errno = EINVAL;