general: use dialer's address if there's no self address

This commit is contained in:
nadoo committed 2018-07-04 11:05:43 +08:00
1 parent f6fae13d88
commit e320dc5508
6 files changed
+27 -10

No files matched your search

+3 -3
View File
@@ -24,9 +24,9 @@ const (
// SEC types
const (
SecTypeUnknown byte = 0
SecTypeLegacy byte = 1
SecTypeAuto byte = 2
SecTypeUnknown byte = 0 // don't use in client
SecTypeLegacy byte = 1 // don't use in client (aes-128-cfb)
SecTypeAuto byte = 2 // don't use in client
SecTypeAES128GCM byte = 3
SecTypeChacha20Poly1305 byte = 4
SecTypeNone byte = 5