Add trojan-local and server command

This commit is contained in:
世界 2022-04-30 13:15:23 +08:00
parent c66f869581
commit 01eeea9a2e
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
12 changed files with 634 additions and 48 deletions

View file

@ -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())
}
}