quic: fix wrong condition in update_fifo_size 81/22881/2
authorMathiasRaoul <[email protected]>
Mon, 7 Oct 2019 15:41:37 +0000 (15:41 +0000)
committerAndrew Yourtchenko <[email protected]>
Sun, 27 Oct 2019 09:58:07 +0000 (09:58 +0000)
Type: fix

Signed-off-by: MathiasRaoul <[email protected]>
Change-Id: If371cde9412be29634164830c58634da248ad0ae
(cherry picked from commit cc702410c18b5c54ec8686b02a0d208c9bc80421)

src/plugins/quic/quic.c

index c83664b..f9c7e6b 100644 (file)
@@ -2226,7 +2226,7 @@ quic_update_fifo_size ()
   segment_manager_props_t *seg_mgr_props =
     application_get_segment_manager_properties (qm->app_index);
 
-  if (seg_mgr_props)
+  if (!seg_mgr_props)
     {
       clib_warning
        ("error while getting segment_manager_props_t, can't update fifo-size");