Contents of /trunk/mkinitrd-magellan/busybox/networking/ipaddr.c
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (17 years ago) by niro
File MIME type: text/plain
File size: 491 byte(s)
Sat Sep 1 22:45:15 2007 UTC (17 years ago) by niro
File MIME type: text/plain
File size: 491 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | /* vi: set sw=4 ts=4: */ |
2 | /* |
3 | * ip.c "ip" utility frontend. |
4 | * |
5 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
6 | * |
7 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
8 | * |
9 | * |
10 | * Changes: |
11 | * |
12 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
13 | */ |
14 | |
15 | #include "libiproute/utils.h" |
16 | #include "libiproute/ip_common.h" |
17 | |
18 | #include "busybox.h" |
19 | |
20 | int ipaddr_main(int argc, char **argv) |
21 | { |
22 | ip_parse_common_args(&argc, &argv); |
23 | |
24 | return do_ipaddr(argc-1, argv+1); |
25 | } |