diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-12-01 23:04:06 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-12-01 23:04:06 +0000 |
commit | f112daa232122dd114933d04a9e415cfc61f1717 (patch) | |
tree | 1e52823545fb3e20f89205fd6224017e19586c72 /networking/iptunnel.c | |
parent | f3faf41334fab96d20854c2b4c1acab022c98028 (diff) | |
download | busybox-w32-f112daa232122dd114933d04a9e415cfc61f1717.tar.gz busybox-w32-f112daa232122dd114933d04a9e415cfc61f1717.tar.bz2 busybox-w32-f112daa232122dd114933d04a9e415cfc61f1717.zip |
Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank
Diffstat (limited to 'networking/iptunnel.c')
-rw-r--r-- | networking/iptunnel.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/networking/iptunnel.c b/networking/iptunnel.c new file mode 100644 index 000000000..f2b2e8a77 --- /dev/null +++ b/networking/iptunnel.c | |||
@@ -0,0 +1,27 @@ | |||
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 | |||
17 | #include "./libiproute/utils.h" | ||
18 | #include "./libiproute/ip_common.h" | ||
19 | |||
20 | #include "busybox.h" | ||
21 | |||
22 | int iptunnel_main(int argc, char **argv) | ||
23 | { | ||
24 | ip_parse_common_args(&argc, &argv); | ||
25 | |||
26 | return do_iptunnel(argc-1, argv+1); | ||
27 | } | ||