diff --git a/source/common/network/upstream_server_name.h b/source/common/network/upstream_server_name.h index e50bb906af5c..cff223127986 100644 --- a/source/common/network/upstream_server_name.h +++ b/source/common/network/upstream_server_name.h @@ -16,6 +16,7 @@ class UpstreamServerName : public StreamInfo::FilterState::Object { public: UpstreamServerName(absl::string_view server_name) : server_name_(server_name) {} const std::string& value() const { return server_name_; } + absl::optional serializeAsString() const override { return server_name_; } static const std::string& key(); private: