mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
balls
This commit is contained in:
parent
b4d8c639a0
commit
fb593af38d
6 changed files with 7 additions and 5 deletions
|
@ -30,7 +30,7 @@ func NewHttpServer(s *session.Session) *HttpServer {
|
|||
|
||||
httpd.AddParam(session.NewStringParameter("http.server.address",
|
||||
session.ParamIfaceAddress,
|
||||
`^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$`,
|
||||
session.IPv4Validator,
|
||||
"Address to bind the http server to."))
|
||||
|
||||
httpd.AddParam(session.NewIntParameter("http.server.port",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue