mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-21 08:41:44 +00:00
Fix acl engine not set in TUN server
This commit is contained in:
@@ -202,6 +202,7 @@ func client(config *clientConfig) {
|
||||
if err != nil {
|
||||
logrus.WithField("error", err).Fatal("Failed to initialize TUN server")
|
||||
}
|
||||
tunServer.ACLEngine = aclEngine
|
||||
tunServer.RequestFunc = func(addr net.Addr, reqAddr string, action acl.Action, arg string) {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"action": actionToString(action, arg),
|
||||
|
Reference in New Issue
Block a user