diff options
Diffstat (limited to 'networking/route.c')
-rw-r--r-- | networking/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/route.c b/networking/route.c index 5b3e68b4c..dfb8ee56f 100644 --- a/networking/route.c +++ b/networking/route.c | |||
@@ -174,7 +174,7 @@ static void INET_setroute(int action, char **args) | |||
174 | 174 | ||
175 | /* recognize x.x.x.x/mask format. */ | 175 | /* recognize x.x.x.x/mask format. */ |
176 | prefix = strchr(target, '/'); | 176 | prefix = strchr(target, '/'); |
177 | if(prefix) { | 177 | if (prefix) { |
178 | int prefix_len; | 178 | int prefix_len; |
179 | 179 | ||
180 | prefix_len = xatoul_range(prefix+1, 0, 32); | 180 | prefix_len = xatoul_range(prefix+1, 0, 32); |
@@ -193,7 +193,7 @@ static void INET_setroute(int action, char **args) | |||
193 | if (isnet < 0) { | 193 | if (isnet < 0) { |
194 | bb_error_msg_and_die("resolving %s", target); | 194 | bb_error_msg_and_die("resolving %s", target); |
195 | } | 195 | } |
196 | if(prefix) { | 196 | if (prefix) { |
197 | /* do not destroy prefix for process args */ | 197 | /* do not destroy prefix for process args */ |
198 | *prefix = '/'; | 198 | *prefix = '/'; |
199 | } | 199 | } |