summaryrefslogtreecommitdiffhomepage
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)
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)
int prefix_len;
prefix_len = xatoul_range(prefix+1, 0, 32);
- mask_in_addr(rt) = htonl( ~ (0xffffffffUL >> prefix_len));
+ mask_in_addr(rt) = htonl( ~(0xffffffffUL >> prefix_len));
*prefix = '\0';
#if HAVE_NEW_ADDRT
rt.rt_genmask.sa_family = AF_INET;