[BusyBox-cvs] busybox/networking/libiproute iplink.c, 1.9, 1.10 iptunnel.c, 1.7, 1.8

Erik Andersen andersen at busybox.net
Mon Apr 26 19:32:51 UTC 2004


Update of /var/cvs/busybox/networking/libiproute
In directory nail:/tmp/cvs-serv16842/libiproute

Modified Files:
	iplink.c iptunnel.c 
Log Message:
Thomas Koeller writes:

    Hi,

    the following output is from BusyBox 1.0.0-pre10:

    ~ # ip link help
    ip: Command "help" is unknown, try "ip link help".

    tk

This patch fixes it by removing the advertisements for
the "ip blah help" stuff that is not implemented.


Index: iplink.c
===================================================================
RCS file: /var/cvs/busybox/networking/libiproute/iplink.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- a/iplink.c	15 Mar 2004 08:28:56 -0000	1.9
+++ b/iplink.c	26 Apr 2004 19:32:49 -0000	1.10
@@ -362,6 +362,6 @@
 	} else
 		return ipaddr_list_link(0, NULL);
 
-	bb_error_msg("Command \"%s\" is unknown, try \"ip link help\".", *argv);
+	bb_error_msg("Command \"%s\" is unknown.", *argv);
 	exit(-1);
 }

Index: iptunnel.c
===================================================================
RCS file: /var/cvs/busybox/networking/libiproute/iptunnel.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/iptunnel.c	15 Mar 2004 08:28:56 -0000	1.7
+++ b/iptunnel.c	26 Apr 2004 19:32:49 -0000	1.8
@@ -543,6 +543,6 @@
 	} else
 		return do_show(0, NULL);
 
-	bb_error_msg("Command \"%s\" is unknown, try \"ip tunnel help\".", *argv);
+	bb_error_msg("Command \"%s\" is unknown.", *argv);
 	exit(-1);
 }




More information about the busybox-cvs mailing list