From f4a9ab942375deafdb6b7d26a48ebc049a08ff34 Mon Sep 17 00:00:00 2001 From: Bill Fraser Date: Fri, 29 Apr 2022 00:53:03 -0700 Subject: [PATCH] make FilteredService::call_with_addr() public This allows a caller to invoke the filter and manually specify a remote address, since this doesn't automatically get passed along when using one's own listener. --- src/filter/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filter/service.rs b/src/filter/service.rs index 3de12a02e..4bea1c355 100644 --- a/src/filter/service.rs +++ b/src/filter/service.rs @@ -70,7 +70,7 @@ where ::Error: IsReject, { #[inline] - pub(crate) fn call_with_addr( + pub fn call_with_addr( &self, req: Request, remote_addr: Option,