]> git.proxmox.com Git - mirror_frr.git/commit - lib/command_match.c
lib: make cmd_element->attr a bitmask & clarify
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 4 Oct 2022 11:30:04 +0000 (13:30 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 6 Oct 2022 13:34:32 +0000 (15:34 +0200)
commit9eebf97e3d3fe8bff0d3c5ecdae39f15bd93f40b
tree04b57dbd4183fd0f0b415a022e12cb72e29fdf16
parent53d8bf6d7a233ccc97e0f466374878f2b8e3f657
lib: make cmd_element->attr a bitmask & clarify

It already "looks" like a bitmask, but we currently can't flag a command
both YANG and HIDDEN at the same time.  It really should be a bitmask.

Also clarify DEPRECATED behaviour (or the absence thereof.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command.c
lib/command.h
lib/command_graph.c
lib/command_graph.h
lib/command_match.c
lib/command_py.c
lib/grammar_sandbox.c
python/clippy/__init__.py
python/xrelfo.py
tools/permutations.c