fix tls in new inbound
This commit is contained in:
@@ -169,10 +169,12 @@ export default {
|
|||||||
const prevConfig = { tag: tag ,listen: this.inbound.listen, listen_port: this.inbound.listen_port }
|
const prevConfig = { tag: tag ,listen: this.inbound.listen, listen_port: this.inbound.listen_port }
|
||||||
this.inbound = createInbound(this.inbound.type, prevConfig)
|
this.inbound = createInbound(this.inbound.type, prevConfig)
|
||||||
if (this.HasInData.includes(this.inbound.type)){
|
if (this.HasInData.includes(this.inbound.type)){
|
||||||
this.inData = <InData>{id: 0, tag: this.inbound.tag, addrs: [], outJson: {}}
|
this.inData.outJson = {}
|
||||||
|
this.inData.tag = tag
|
||||||
} else {
|
} else {
|
||||||
this.inData = <InData>{id: -1}
|
this.inData = <InData>{id: -1}
|
||||||
}
|
}
|
||||||
|
this.tls_id.value = 0
|
||||||
this.side = "s"
|
this.side = "s"
|
||||||
},
|
},
|
||||||
add_addr() {
|
add_addr() {
|
||||||
|
|||||||
Reference in New Issue
Block a user