diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-02-11 16:01:32 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-02-11 22:34:12 -0200 |
| commit | c139972c0ffcabe73cafc3d20f257163fa81ddd0 (patch) | |
| tree | e4067ffa41c549144b5ab79f952a957fbd2c9466 /lib/command_match.h | |
| parent | 5e2444690bd0d2003e7d283f890b33e11ddd371f (diff) | |
lib: rename enum to avoid conflict
Two different definitions of "enum filter_type" exist in libfrr:
one in lib/filter.h and other in lib/command_match.h. Rename one
of them to resolve a conflict that happens when both headers are
included by the same file.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command_match.h')
| -rw-r--r-- | lib/command_match.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_match.h b/lib/command_match.h index 547f6f3b6d..fcb333120f 100644 --- a/lib/command_match.h +++ b/lib/command_match.h @@ -35,7 +35,7 @@ extern "C" { /* These definitions exist in command.c in the current engine but should be * relocated here in the new engine */ -enum filter_type { FILTER_RELAXED, FILTER_STRICT }; +enum cmd_filter_type { FILTER_RELAXED, FILTER_STRICT }; /* matcher result value */ enum matcher_rv { |
