mirror of
https://github.com/net-byte/vtun
synced 2024-03-14 10:50:03 +08:00
fix: Repair variable name changes issue.
This commit is contained in:
parent
007cfa7a4f
commit
0ab410d646
@ -20,8 +20,8 @@ import (
|
||||
// StartServer starts the dtls server
|
||||
func StartServer(iFace *water.Interface, config config.Config) {
|
||||
log.Printf("vtun dtls server started on %v", config.LocalAddr)
|
||||
_ctx, cancel = context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
_ctx, _cancel = context.WithCancel(context.Background())
|
||||
defer _cancel()
|
||||
var tlsConfig *dtls.Config
|
||||
if config.PSKMode {
|
||||
tlsConfig = &dtls.Config{
|
||||
|
Loading…
Reference in New Issue
Block a user