[LTP] [PATCH] lib/tst_net.sh: fix tst_set_sysctl() for non-netns setup

Petr Vorel pvorel@suse.cz
Thu Jan 10 15:51:52 CET 2019


Hi Alexey,

..
thanks for your fix. I pushed it with minor change (was not needed, but made
code more readable, I should have done it in original commit).

>  	local rparam=
> -	[ "$TST_USE_NETNS" = "yes" ] && rparam="-e"
> +	[ "$TST_USE_NETNS" = "yes" ] && rparam="-r -e"
    [ "$TST_USE_NETNS" = "yes" ] && rparam="-r '-e'"


Kind regards,
Petr


More information about the ltp mailing list