mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 20:14:03 +00:00
Ip限制 npc代理连接
This commit is contained in:
@@ -42,10 +42,10 @@ func TestConfig(t *testing.T) {
|
||||
RWMutex: sync.RWMutex{},
|
||||
}
|
||||
tunnel := &file.Tunnel{
|
||||
Port: 9001,
|
||||
Mode: "tcpServer",
|
||||
Target: "127.0.0.1:8082",
|
||||
Remark: "333",
|
||||
Port: 9001,
|
||||
Mode: "tcpServer",
|
||||
Target: "127.0.0.1:8082",
|
||||
Remark: "333",
|
||||
}
|
||||
var b []byte
|
||||
if b, err = c.ReadLen(16); err != nil {
|
||||
|
Reference in New Issue
Block a user