diff options
author | Bernhard Reutner-Fischer | 2006-11-21 15:36:08 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-11-21 15:36:08 +0000 |
commit | 921f5df25fdb9d89bd02ac0030ebb6ca7e003f0d (patch) | |
tree | f6b5be4741c2856fa0d0f0fa148ee4d0a1fecbaa /networking/iprule.c | |
parent | 04b30ba3b88c721b81194cae9cb439ddba4712db (diff) | |
download | busybox-921f5df25fdb9d89bd02ac0030ebb6ca7e003f0d.zip busybox-921f5df25fdb9d89bd02ac0030ebb6ca7e003f0d.tar.gz |
- add 'ip rule' support. First take..
text data bss dec hex filename
2999 0 0 2999 bb7 networking/libiproute/iprule.o
Diffstat (limited to 'networking/iprule.c')
-rw-r--r-- | networking/iprule.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/networking/iprule.c b/networking/iprule.c new file mode 100644 index 0000000..43eaea6 --- /dev/null +++ b/networking/iprule.c @@ -0,0 +1,25 @@ +/* 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 iprule_main(int argc, char **argv) +{ + ip_parse_common_args(&argc, &argv); + + return do_iprule(argc-1, argv+1); +} |