diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-07 12:20:33 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-07 12:20:33 -0400 |
| commit | e2e210ddf07c843199e24d8ff28381e23c926136 (patch) | |
| tree | 4d347ba9ca352ff4cea49279c7fad492ac50c5ae /lib/log.h | |
| parent | 83418577afb992deed55296008debaf3fcad74d5 (diff) | |
lib: Fix ordering issue in protocol names
The protocol names and enum must be kept
in the same order.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/log.h')
| -rw-r--r-- | lib/log.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -41,6 +41,10 @@ * please use LOG_ERR instead. */ +/* + * This must be kept in the same order as + * zlog_proto_names[] + */ typedef enum { ZLOG_NONE, @@ -53,9 +57,9 @@ typedef enum ZLOG_OSPF6, ZLOG_LDP, ZLOG_ISIS, - ZLOG_RFP, ZLOG_PIM, - ZLOG_MASC + ZLOG_MASC, + ZLOG_RFP, } zlog_proto_t; /* If maxlvl is set to ZLOG_DISABLED, then no messages will be sent |
