diff options
| author | Russ White <russ@riw.us> | 2023-02-14 09:35:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-14 09:35:06 -0500 |
| commit | bb7f02328f849f430d55eb6a846d25e5a28fd1e5 (patch) | |
| tree | 0eb56546cca8e35e940ad9c281dc4d406b79f0c6 /lib/routemap.h | |
| parent | b291ddb612e6533a46cffcf62672025176fb7599 (diff) | |
| parent | 0c896167f36f0f3d264d96a03a959372a88a3b3d (diff) | |
Merge pull request #12796 from donaldsharp/routemap_debugging
Routemap debugging
Diffstat (limited to 'lib/routemap.h')
| -rw-r--r-- | lib/routemap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index 9c78e15735..ddcb8f2ddb 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -37,6 +37,10 @@ DECLARE_MTYPE(ROUTE_MAP_NAME); DECLARE_MTYPE(ROUTE_MAP_RULE); DECLARE_MTYPE(ROUTE_MAP_COMPILED); +#define DEBUG_ROUTEMAP 0x01 +#define DEBUG_ROUTEMAP_DETAIL 0x02 +extern uint32_t rmap_debug; + /* Route map's type. */ enum route_map_type { RMAP_PERMIT, RMAP_DENY, RMAP_ANY }; |
