summaryrefslogtreecommitdiffstats
path: root/toolbox/ifconfig.c
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-05-13 12:01:52 -0700
committerSan Mehat <san@google.com>2009-05-13 12:01:52 -0700
commit0389a1297d65321a882ea0dcc69f4de4e3bcb169 (patch)
tree74b55bb643e42206d39221f563fff84c1031d332 /toolbox/ifconfig.c
parent94447ca34b2abf9b0d9d9cb52a18bf8ba0f01b61 (diff)
downloadsystem_core-0389a1297d65321a882ea0dcc69f4de4e3bcb169.zip
system_core-0389a1297d65321a882ea0dcc69f4de4e3bcb169.tar.gz
system_core-0389a1297d65321a882ea0dcc69f4de4e3bcb169.tar.bz2
toolbox: Make that 'pointopoint' instead of 'pointtopoint'
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'toolbox/ifconfig.c')
-rw-r--r--toolbox/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolbox/ifconfig.c b/toolbox/ifconfig.c
index 1de362f..dff183e 100644
--- a/toolbox/ifconfig.c
+++ b/toolbox/ifconfig.c
@@ -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;