diff options
author | Glenn L McGrath | 2004-04-12 02:35:44 +0000 |
---|---|---|
committer | Glenn L McGrath | 2004-04-12 02:35:44 +0000 |
commit | 19efb3dc59920b9fed6ec16566a2046e9f3251d9 (patch) | |
tree | 9a0caa2c211f09dfb6953f210ded3fcb570a7ede | |
parent | 36c74789920de6ccee6554b148313ae29b86f2aa (diff) | |
download | busybox-19efb3dc59920b9fed6ec16566a2046e9f3251d9.zip busybox-19efb3dc59920b9fed6ec16566a2046e9f3251d9.tar.gz |
Fix compile error if CONFIG_FEATURE_IP_ADDR isnt enabled
-rw-r--r-- | networking/ip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/ip.c b/networking/ip.c index a0781bd..cfdbf8b 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -93,17 +93,17 @@ int ip_main(int argc, char **argv) } #endif #ifdef CONFIG_FEATURE_IP_ROUTE - else if (matches(argv[1], "route") == 0) { + if (matches(argv[1], "route") == 0) { ret = do_iproute(argc-2, argv+2); } #endif #ifdef CONFIG_FEATURE_IP_LINK - else if (matches(argv[1], "link") == 0) { + if (matches(argv[1], "link") == 0) { ret = do_iplink(argc-2, argv+2); } #endif #ifdef CONFIG_FEATURE_IP_TUNNEL - else if (matches(argv[1], "tunnel") == 0 || strcmp(argv[1], "tunl") == 0) { + if (matches(argv[1], "tunnel") == 0 || strcmp(argv[1], "tunl") == 0) { ret = do_iptunnel(argc-2, argv+2); } #endif |