diff options
author | Bernhard Reutner-Fischer | 2007-04-10 20:11:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2007-04-10 20:11:12 +0000 |
commit | 07c394e69b0cfa7cd30e97ffc6edb0d857905f45 (patch) | |
tree | 6d3ed53ff0d0edd70b66866b205a1d99c7598b11 /networking/ipaddr.c | |
parent | 99003b8a87add666e2c16a097df4da4a59310c0c (diff) | |
download | busybox-07c394e69b0cfa7cd30e97ffc6edb0d857905f45.zip busybox-07c394e69b0cfa7cd30e97ffc6edb0d857905f45.tar.gz |
- mv ip*_main into ip.c; use a dispatcher to save on needless duplication.
Saves a minor 12b.
Diffstat (limited to 'networking/ipaddr.c')
-rw-r--r-- | networking/ipaddr.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/networking/ipaddr.c b/networking/ipaddr.c deleted file mode 100644 index fb02137..0000000 --- a/networking/ipaddr.c +++ /dev/null @@ -1,26 +0,0 @@ -/* vi: set sw=4 ts=4: */ -/* - * ip.c "ip" utility frontend. - * - * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. - * - * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> - * - * - * Changes: - * - * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses - */ - -#include "libiproute/utils.h" -#include "libiproute/ip_common.h" - -#include "busybox.h" - -int ipaddr_main(int argc, char **argv); -int ipaddr_main(int argc, char **argv) -{ - ip_parse_common_args(&argc, &argv); - - return do_ipaddr(argc-1, argv+1); -} |