summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-02-11 16:01:32 -0200
committerRenato Westphal <renato@opensourcerouting.org>2019-02-11 22:34:12 -0200
commitc139972c0ffcabe73cafc3d20f257163fa81ddd0 (patch)
treee4067ffa41c549144b5ab79f952a957fbd2c9466 /lib/command.c
parent5e2444690bd0d2003e7d283f890b33e11ddd371f (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.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 06879f6854..b46241ac87 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1009,7 +1009,7 @@ enum node_type node_parent(enum node_type node)
}
/* Execute command by argument vline vector. */
-static int cmd_execute_command_real(vector vline, enum filter_type filter,
+static int cmd_execute_command_real(vector vline, enum cmd_filter_type filter,
struct vty *vty,
const struct cmd_element **cmd)
{