summaryrefslogtreecommitdiff
path: root/networking/iprule.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/iprule.c')
-rw-r--r--networking/iprule.c25
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);
+}