diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2019-11-01 20:36:28 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-11-04 22:56:02 +0000 |
commit | 3a23f9e30d893d9feee2de80dbfb17951a4d89da (patch) | |
tree | 4d2912e2f19b34b6fa782734025cb2e96376c0ef /src/plugins/quic/quic.h | |
parent | caa52f3f93fba4685aa91124646683529de38725 (diff) |
quic: enhance error reporting
Type: refactor
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I710d00e4a6c4356d0f00f7592bf14b55596ec6ae
Diffstat (limited to 'src/plugins/quic/quic.h')
-rw-r--r-- | src/plugins/quic/quic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.h b/src/plugins/quic/quic.h index 88a8885ed6c..c426e39baf4 100644 --- a/src/plugins/quic/quic.h +++ b/src/plugins/quic/quic.h @@ -65,6 +65,11 @@ #define QUIC_DBG(_lvl, _fmt, _args...) #endif +#define QUIC_ERR(_fmt, _args...) \ + do { \ + clib_warning ("QUIC-ERR: " _fmt, ##_args); \ + } while (0) + extern vlib_node_registration_t quic_input_node; typedef enum |