]> git.puffer.fish Git - matthieu/frr.git/commit
lib: rename enum to avoid conflict
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 11 Feb 2019 18:01:32 +0000 (16:01 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 12 Feb 2019 00:34:12 +0000 (22:34 -0200)
commitc139972c0ffcabe73cafc3d20f257163fa81ddd0
treee4067ffa41c549144b5ab79f952a957fbd2c9466
parent5e2444690bd0d2003e7d283f890b33e11ddd371f
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>
lib/command.c
lib/command_match.h