Re: [PATCH net] tc-testing: skbmod: fix match value of ethertype

2018-03-04 Thread David Miller
From: Davide Caratti Date: Fri, 2 Mar 2018 14:44:39 +0100 > iproute2 print_skbmod() prints the configured ethertype using format 0x%X: > therefore, test 9aa8 systematically fails, because it configures action #4 > using ethertype 0x0031, and expects 0x0031 when it reads it back. Changing > the e

[PATCH net] tc-testing: skbmod: fix match value of ethertype

2018-03-02 Thread Davide Caratti
iproute2 print_skbmod() prints the configured ethertype using format 0x%X: therefore, test 9aa8 systematically fails, because it configures action #4 using ethertype 0x0031, and expects 0x0031 when it reads it back. Changing the expected value to 0x31 lets the test result 'not ok' become 'ok'. tes