aboutsummaryrefslogtreecommitdiff
path: root/networking/route.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-18 15:49:07 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-18 15:49:07 +0200
commit238bf187ba5708bc04065b761ffc98c877043fe4 (patch)
tree5e149a732ecb715a0d36dbaf56f21501b8738f0e /networking/route.c
parent51b4a9e2f192c03039f339401026752f6340df25 (diff)
downloadbusybox-w32-238bf187ba5708bc04065b761ffc98c877043fe4.tar.gz
busybox-w32-238bf187ba5708bc04065b761ffc98c877043fe4.tar.bz2
busybox-w32-238bf187ba5708bc04065b761ffc98c877043fe4.zip
ash: fix bug which causes signal6.tests to fail
function old new delta trapcmd 271 277 +6 localcmd 277 275 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/route.c')
-rw-r--r--networking/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/route.c b/networking/route.c
index 241be8e09..a3199621a 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -178,7 +178,7 @@ static NOINLINE void INET_setroute(int action, char **args)
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);
181 mask_in_addr(rt) = htonl( ~ (0xffffffffUL >> prefix_len)); 181 mask_in_addr(rt) = htonl( ~(0xffffffffUL >> prefix_len));
182 *prefix = '\0'; 182 *prefix = '\0';
183#if HAVE_NEW_ADDRT 183#if HAVE_NEW_ADDRT
184 rt.rt_genmask.sa_family = AF_INET; 184 rt.rt_genmask.sa_family = AF_INET;