mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-04 12:27:37 +03:00
Add trojan-local and server command
This commit is contained in:
parent
c66f869581
commit
01eeea9a2e
12 changed files with 634 additions and 48 deletions
|
@ -62,7 +62,7 @@ func (s *Serializer) AddressLen(addr Addr) int {
|
|||
case AddressFamilyIPv6:
|
||||
return 17
|
||||
default:
|
||||
return 1 + len(addr.Fqdn())
|
||||
return 2 + len(addr.Fqdn())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue