]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: fix an off-by-one error while printing tc actions
authorAdam Vyskovsky <adamvyskovsky@gmail.com>
Sun, 18 Feb 2018 19:50:10 +0000 (20:50 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 23 Feb 2018 16:18:29 +0000 (08:18 -0800)
commit2fb854d07cb80fe11593b9da8f34feb62b7e401e
tree670dd487edd23abbcc5cfc7cd2e7530c2b963705
parent7bdd62394883a0c38489da105996c35c9bacf18d
tc: fix an off-by-one error while printing tc actions

The tc_print_action() function did not print all tc actions
when e.g. TCA_ACT_MAX_PRIO actions were defined for a single
tc filter.

Signed-off-by: Adam Vyskovsky <adamvyskovsky@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/m_action.c