iprule.c 491 B

12345678910111213141516171819202122232425
  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. #include "libiproute/utils.h"
  15. #include "libiproute/ip_common.h"
  16. #include "busybox.h"
  17. int iprule_main(int argc, char **argv)
  18. {
  19. ip_parse_common_args(&argc, &argv);
  20. return do_iprule(argc-1, argv+1);
  21. }