mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
Remove IPBlocklist and IPAllowlist
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
|
||||
"github.com/dolonet/mtg-multi/antireplay"
|
||||
"github.com/dolonet/mtg-multi/events"
|
||||
"github.com/dolonet/mtg-multi/ipblocklist"
|
||||
"github.com/dolonet/mtg-multi/mtglib"
|
||||
"github.com/sagernet/sing-box/adapter"
|
||||
"github.com/sagernet/sing-box/adapter/inbound"
|
||||
@@ -59,8 +58,6 @@ func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLo
|
||||
Logger: mtgLogger,
|
||||
Network: NewNetworkAdapter(ctx, NewDialer(inbound.newConnection)),
|
||||
AntiReplayCache: antireplay.NewNoop(),
|
||||
IPBlocklist: ipblocklist.NewNoop(),
|
||||
IPAllowlist: ipblocklist.NewNoop(),
|
||||
EventStream: events.NewNoopStream(),
|
||||
|
||||
Secrets: secrets,
|
||||
|
||||
Reference in New Issue
Block a user