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