Commit Graph

35 Commits

Author SHA1 Message Date
08dea3e5a7 "This function was not updating the argc and argv pointers to reflect
the arguments it consumed, which means the calling function encountered
them as well.  As a result, a command like "ip -6 addr" was yielding a usage
error." - Philip Blundell
2003-08-29 10:58:46 +00:00
cb81e6484d Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
feb283a437 On second thought, this is a better way to fix things 2003-07-14 08:49:43 +00:00
9059e3a37b Don't use Linux kernel headers
-Erik
2003-07-14 08:46:30 +00:00
0f08e53535 Patch from Lars Kellogg-Stedman:
I'm building BusyBox using a development kit for MontaVista Hardhat Linux
(PPC) -- which, at least in this instance, is based around kernel 2.2.14.
I've had to massage a few files in networking/libiproute/ to make it
compile.  Specifically:

  (1) Added a #include <sys/uio.h> for the iovec structure in
      libnetlink.c,

  (2) Put ifdefs in ll_types.c and ll_proto.c around various
      constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined,

  (3) Make do_changename() in iplink.c require a kernel >=
      2.4.0 -- the ifr structure in my environment doesn't
      have the ifr_name attribute.  I've assumed this is
      a kernel dependency -- let me know if I ought to be
      checking something else.

      In the absence of the correct kernel, do_changename()
      always returns 0.

Attached is a patch against the current CVS that will make these changes.

-- Lars
2003-06-20 09:05:00 +00:00
fbf0b8af41 iPatch from waldi, fixes usage of ip route flush (from)? (match|exact) 2003-04-26 02:22:19 +00:00
cad5364599 Major coreutils update. 2003-03-19 09:13:01 +00:00
4a4c677fcc Patch from Bastian Blank
- ip route flush
 - different usage for telnetd in inetd mode
 - changes for the default flags of the ip features
 - if no /usr requested, udhcpc should use the script also without /usr.
2003-02-15 11:50:33 +00:00
496411b489 Don't use HZ -- use sysconf(_SC_CLK_TCK) 2003-02-12 10:56:53 +00:00
66a3af9d7c This seems sufficient for ifup and ifdown to actually work
as advertised.  Works for me (at least with glibc)
2003-01-27 17:41:19 +00:00
d8fdf0c57d Fix a typo that broke it so busybox won't build 2003-01-22 01:20:35 +00:00
5cc9ada0e4 header update 2003-01-21 00:03:05 +00:00
ab4e19afc6 Eliminate most instances where we use linux kernel headers
-Erik
2003-01-14 08:54:08 +00:00
8004bb7661 Eliminate use of kernel header file
-Erik
2003-01-14 08:06:07 +00:00
d66370cd73 Option to allow ifupdown use ip commands instead of ifconfig, add flush
command to ipaddr, patch by Bastian Blank
2003-01-13 21:40:38 +00:00
ea2a1064b3 fixes for ia64 2003-01-05 00:43:00 +00:00
275be87be7 Only included headers that are used. 2002-12-16 07:37:21 +00:00
1e132dd4dd fix warning 2002-12-16 06:40:37 +00:00
84cc4e7e3e undefine sysinfo to prevent breakage on ia64 2002-12-11 03:55:52 +00:00
2626ef613e Use compare_string_array in ipaddress to save a few bytes, minor cleanups 2002-12-02 01:40:05 +00:00
18eae0031a Save a few more bytes 2002-12-02 00:54:10 +00:00
c82f2324bd Save a hundred bytes or so on the do_iproute function 2002-12-02 00:35:23 +00:00
f112daa232 Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank 2002-12-01 23:04:06 +00:00
82d2cd4ead Clean up error messages 2002-11-28 12:45:48 +00:00
1b0813ab61 Minor error messages changes 2002-11-28 12:39:19 +00:00
d4de975cd2 Cleanup error messages 2002-11-28 12:35:46 +00:00
8b6024449f Cleanup error messages 2002-11-28 12:19:51 +00:00
e3e2a7b41c Syntax error 2002-11-28 12:01:25 +00:00
1652855fbc Style, error_msg 2002-11-28 11:17:19 +00:00
9048ae5923 Use standard error messages 2002-11-28 10:56:38 +00:00
df72536f8e Use error_msg instead of fprintf(stderr 2002-11-28 10:49:14 +00:00
50c00f4b45 Use error_msg_and_die, style 2002-11-18 07:26:42 +00:00
5780adb586 Patch from Bastian Blank:
hi erik

    the following patch fixes the handling of iproute add <route> dev <dev>.
    the code got lost while removing things.

    bastian
2002-11-15 09:12:47 +00:00
8ae75013c8 Only compile the files in this dir if the IP applet is enabled 2002-11-10 10:20:45 +00:00
9a2d27249c IP applet by Bastian Blank <waldi@debian.org> 2002-11-10 01:33:55 +00:00