Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "envoy/extensions/http/original_ip_detection/custom_header/v3/custom_header.pb.h"
#include "envoy/extensions/http/original_ip_detection/custom_header/v3/custom_header.pb.validate.h"
#include "envoy/http/original_ip_detection.h"
#include "envoy/registry/registry.h"

#include "common/config/utility.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "envoy/extensions/http/original_ip_detection/custom_header/v3/custom_header.pb.h"
#include "envoy/http/original_ip_detection.h"
#include "envoy/registry/registry.h"

#include "common/protobuf/protobuf.h"

Expand Down Expand Up @@ -29,6 +30,8 @@ class CustomHeaderIPDetectionFactory : public Envoy::Http::OriginalIPDetectionFa
std::string name() const override { return "envoy.http.original_ip_detection.custom_header"; }
};

DECLARE_FACTORY(CustomHeaderIPDetectionFactory);

} // namespace CustomHeader
} // namespace OriginalIPDetection
} // namespace Http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "envoy/extensions/http/original_ip_detection/xff/v3/xff.pb.h"
#include "envoy/extensions/http/original_ip_detection/xff/v3/xff.pb.validate.h"
#include "envoy/http/original_ip_detection.h"
#include "envoy/registry/registry.h"

#include "common/config/utility.h"

Expand Down
3 changes: 3 additions & 0 deletions source/extensions/http/original_ip_detection/xff/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "envoy/extensions/http/original_ip_detection/xff/v3/xff.pb.h"
#include "envoy/http/original_ip_detection.h"
#include "envoy/registry/registry.h"

#include "common/protobuf/protobuf.h"

Expand All @@ -28,6 +29,8 @@ class XffIPDetectionFactory : public Envoy::Http::OriginalIPDetectionFactory {
std::string name() const override { return "envoy.http.original_ip_detection.xff"; }
};

DECLARE_FACTORY(XffIPDetectionFactory);

} // namespace Xff
} // namespace OriginalIPDetection
} // namespace Http
Expand Down