aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/quic.h
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-11-01 20:36:28 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-11-04 22:56:02 +0000
commit3a23f9e30d893d9feee2de80dbfb17951a4d89da (patch)
tree4d2912e2f19b34b6fa782734025cb2e96376c0ef /src/plugins/quic/quic.h
parentcaa52f3f93fba4685aa91124646683529de38725 (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.h5
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