diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-24 12:56:31 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-24 13:02:07 +0700 |
commit | e65c8bad46a190f3de7594d545aa4954ad17b85f (patch) | |
tree | 9d07705691e7f93ac80aa6f286927f8d454c484b /src/plugin.c | |
parent | 369015c53545f2f67d8610e5d821ee75289122e5 (diff) |
vty/command.h: document and prettify CMD_ATTR_* flags
Since the CMD_ATTR_* flags are intended to be used in bitwise
operations, let's assign them proper values. Adding a new flag
(e.g. CMD_ATTR_FOO_BAR) could actually result in assigning 0x03
instead of expected (0x01 << 2).
Change-Id: I3b1badef830f7e6436a67673b5709ec33c060c68
Related: OS#3584
Diffstat (limited to 'src/plugin.c')
0 files changed, 0 insertions, 0 deletions