[dts] fix set_promiscuousmode failed case

Liu, Yong yong.liu at intel.com
Tue Nov 3 04:48:21 CET 2015


Applied. Thanks.

On 10/26/2015 03:51 PM, xu,huilong wrote:
> test send package dst mac is dut port rx port mac
> Signed-off-by: xu,huilong <huilongx.xu at intel.com>
> ---
>   tests/TestSuite_shutdown_api.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
> index 37c2481..c371c0e 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -101,7 +101,7 @@ class TestShutdownApi(TestCase):
>               itf = self.tester.get_interface(self.tester.get_local_port(rxPort))
>           else:
>               itf = testerports
> -        mac = self.dut.get_mac_address(txPort)
> +        mac = self.dut.get_mac_address(rxPort)
>   
>           self.tester.scapy_foreground()
>           if self.nic in ["fortville_eagle", "fortville_spirit",



More information about the dts mailing list