commit | 8f80d450c3cb0996d839996807b77ca28bd4da09 | [log] [tgz] |
---|---|---|
author | Julien Floret <julien.floret@6wind.com> | Thu Jan 07 14:03:13 2016 +0100 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Mon Jan 11 08:23:36 2016 -0800 |
tree | a65659be8adc009012dbddc94d912aa006cb9f98 | |
parent | f921f567d1b9a7d6ad9b99049c7df816c47f92eb [diff] |
tc: fix compilation with old gcc (< 4.6) gcc < 4.6 does not handle C11 syntax for the static initialization of anonymous struct/union, hence the following error: tc_bpf.c:260: error: unknown field map_type specified in initializer Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net>