refactor common/net.Port

This commit is contained in:
Darien Raymond committed 2015-12-02 20:44:01 +00:00
1 parent fa7c1069bc
commit ae056714db
33 files changed
+86 -70

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ func (config *LogConfig) AccessLog() string {
}
type Config struct {
PortValue uint16
PortValue v2net.Port
LogConfigValue *LogConfig
RouterConfigValue routerconfig.RouterConfig
InboundConfigValue *ConnectionConfig
@@ -68,7 +68,7 @@ type Config struct {
OutboundDetoursValue []*OutboundDetourConfig
}
func (config *Config) Port() uint16 {
func (config *Config) Port() v2net.Port {
return config.PortValue
}