aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-08-05 17:23:07 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-08-06 13:13:25 +0000
commitd597ec7931ee753c96107663e1483940ae704039 (patch)
tree35a535a6fb9d9883943cc0445dd7568a57f6c57c
parentdd1ccb4fd3b4428714ffcc5bd669fb8c11e46e8e (diff)
quic: Add missing session_migrate_callback
Change-Id: Ibbec53e07852f1b8987696fddbc3bf83f75705ce Type: fix Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
-rw-r--r--src/plugins/quic/quic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index 637969c2531..51de11729cd 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -1599,6 +1599,12 @@ quic_session_reset_callback (session_t * s)
clib_warning ("UDP session reset???");
}
+static void
+quic_session_migrate_callback (session_t * s, session_handle_t new_sh)
+{
+ QUIC_DBG (2, "Quic session migrate callback");
+}
+
int
quic_session_accepted_callback (session_t * udp_session)
{
@@ -2082,6 +2088,7 @@ static session_cb_vft_t quic_app_cb_vft = {
.session_disconnect_callback = quic_session_disconnect_callback,
.session_connected_callback = quic_session_connected_callback,
.session_reset_callback = quic_session_reset_callback,
+ .session_migrate_callback = quic_session_migrate_callback,
.add_segment_callback = quic_add_segment_callback,
.del_segment_callback = quic_del_segment_callback,
.builtin_app_rx_callback = quic_app_rx_callback,