iproute.c 651 B

123456789101112131415161718192021222324252627
  1. /*
  2. * ip.c "ip" utility frontend.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version
  7. * 2 of the License, or (at your option) any later version.
  8. *
  9. * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  10. *
  11. *
  12. * Changes:
  13. *
  14. * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
  15. */
  16. #include "./libiproute/utils.h"
  17. #include "./libiproute/ip_common.h"
  18. #include "busybox.h"
  19. int iproute_main(int argc, char **argv)
  20. {
  21. ip_parse_common_args(&argc, &argv);
  22. return do_iproute(argc-1, argv+1);
  23. }