Coverage Report

Created: 2023-11-12 09:30

/proc/self/cwd/test/common/http/xff_extension.cc
Line
Count
Source
1
#include "test/common/http/xff_extension.h"
2
3
#include "source/extensions/http/original_ip_detection/xff/xff.h"
4
5
namespace Envoy {
6
7
1
Http::OriginalIPDetectionSharedPtr getXFFExtension(uint32_t hops) {
8
1
  return std::make_shared<Extensions::Http::OriginalIPDetection::Xff::XffIPDetection>(hops);
9
1
}
10
11
} // namespace Envoy