]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: replace magic constant 16 with #define
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Nov 2017 19:18:31 +0000 (11:18 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Nov 2017 19:19:18 +0000 (11:19 -0800)
commitb317557f5854bb8e4ed0ff47a2327f652c6e3433
tree8ba4496948eb9076aeb1224b55ce2eaa65402896
parenta03c704b2facf3036b26c8e7f65097a25ec56950
tc: replace magic constant 16 with #define

For places where tc is expecting device name use IFNAMSIZ.
For others where it is a filter name, introduce a new constant.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/m_action.c
tc/m_ipt.c
tc/m_mirred.c
tc/m_pedit.c
tc/m_xt.c
tc/m_xt_old.c
tc/tc_class.c
tc/tc_exec.c
tc/tc_filter.c
tc/tc_qdisc.c
tc/tc_util.h