summaryrefslogtreecommitdiff
path: root/networking/ip.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-27 13:13:45 +0000
committerDenis Vlasenko2007-01-27 13:13:45 +0000
commitfd94efa41f6a37221c68d4c0ed12f4883d2069ba (patch)
tree8e00850c00211ca8a33bf1317358a9ad9a3627d1 /networking/ip.c
parent5ff8f3d7fde54075936e82b5075bb551f1ea37d6 (diff)
downloadbusybox-fd94efa41f6a37221c68d4c0ed12f4883d2069ba.zip
busybox-fd94efa41f6a37221c68d4c0ed12f4883d2069ba.tar.gz
fix numbering in switch(): we don't have "del" anymore,
substring match on "delete" handles it ok. But we (I?) forgot to renumber case labels...
Diffstat (limited to 'networking/ip.c')
-rw-r--r--networking/ip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/ip.c b/networking/ip.c
index 4c8b89e..7a7f55c 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -33,8 +33,9 @@ int ip_main(int argc, char **argv)
if (ENABLE_FEATURE_IP_LINK && matches(argv[1], "link") == 0) {
ret = do_iplink(argc-2, argv+2);
}
- if (ENABLE_FEATURE_IP_TUNNEL &&
- (matches(argv[1], "tunnel") == 0 || strcmp(argv[1], "tunl") == 0)) {
+ if (ENABLE_FEATURE_IP_TUNNEL
+ && (matches(argv[1], "tunnel") == 0 || strcmp(argv[1], "tunl") == 0)
+ ) {
ret = do_iptunnel(argc-2, argv+2);
}
if (ENABLE_FEATURE_IP_RULE && matches(argv[1], "rule") == 0) {