[LTP] [PATCH 1/3] test_net.sh: fix netns when defined LHOST_IFACES or RHOST_IFACES

Alexey Kodanev alexey.kodanev@oracle.com
Thu Dec 22 15:15:44 CET 2016


Hi,

On 12/22/2016 04:01 PM, Petr Vorel wrote:
> Hi Alexey,
>
>> On 12/22/2016 02:04 AM, Petr Vorel wrote:
>>> Tested with:
>>> TST_USE_NETNS=1 LHOST_IFACES=localpeer RHOST_IFACES=remotepeer \
>>>     ./testscripts/network.sh -6
>> Any good reason to do that?
> Yes. Currently if you define LHOST_IFACES and/or RHOST_IFACES netns is defined for
> ltp_ns_veth2 and ltp_ns_veth1, but then there are used new variables => it's not working.
> Or have I overlooked something?

I understand, but why do you need to re-define these interface names?

Thanks,
Alexey

>
> Kind regards,
> Petr



More information about the ltp mailing list