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>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user