mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
fix acl not work with kcp&quic (#1152)
This commit is contained in:
@@ -64,7 +64,7 @@ impl AclFilter {
|
||||
}
|
||||
|
||||
/// Get current processor for processing packets
|
||||
fn get_processor(&self) -> Arc<AclProcessor> {
|
||||
pub fn get_processor(&self) -> Arc<AclProcessor> {
|
||||
self.acl_processor.load_full()
|
||||
}
|
||||
|
||||
@@ -160,7 +160,7 @@ impl AclFilter {
|
||||
}
|
||||
|
||||
/// Process ACL result and log if needed
|
||||
fn handle_acl_result(
|
||||
pub fn handle_acl_result(
|
||||
&self,
|
||||
result: &AclResult,
|
||||
packet_info: &PacketInfo,
|
||||
|
||||
Reference in New Issue
Block a user