1.增加web 显示profile
2.重新安排了一些日志的等级
This commit is contained in:
@@ -9,6 +9,7 @@ var DestPort int
|
||||
var ListenPort int
|
||||
var EncryptSide string
|
||||
var LogTo string
|
||||
var ProfilePort int
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&DestIP, "destip", "", "Destination IP")
|
||||
@@ -16,4 +17,5 @@ func init() {
|
||||
flag.StringVar(&LogTo, "log", "stdout", "Log to where")
|
||||
flag.IntVar(&DestPort, "destport", 0, "Destination Port")
|
||||
flag.IntVar(&ListenPort, "listenport", 0, "Listen Port")
|
||||
flag.IntVar(&ProfilePort, "profileport", 0, "Profile Port")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user