From b61026feb0cf160934225ad134c1eb1c74cd05ef Mon Sep 17 00:00:00 2001 From: IssaAbuKalbein <86603440+IssaAbuKalbein@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:56:11 +0200 Subject: [PATCH] [UDP Proxy] Fix a bug in UDP session filter (#31316) Signed-off-by: Issa Abu Kalbein --- .../extensions/filters/udp/udp_proxy/session_filters/filter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/extensions/filters/udp/udp_proxy/session_filters/filter.h b/source/extensions/filters/udp/udp_proxy/session_filters/filter.h index b0daa46b27ba..f9d5af16215e 100644 --- a/source/extensions/filters/udp/udp_proxy/session_filters/filter.h +++ b/source/extensions/filters/udp/udp_proxy/session_filters/filter.h @@ -88,7 +88,7 @@ class FilterBase { /** * Session read filter interface. */ -class ReadFilter : public FilterBase { +class ReadFilter : public virtual FilterBase { public: virtual ~ReadFilter() = default; @@ -134,7 +134,7 @@ enum class WriteFilterStatus { /** * Session write filter interface. */ -class WriteFilter : public FilterBase { +class WriteFilter : public virtual FilterBase { public: virtual ~WriteFilter() = default;