mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-24 00:24:06 +03:00
Typo fixes
This commit is contained in:
parent
d5ff0cb704
commit
ef28e332cc
2 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ func WireGuardServerInterfaces() echo.HandlerFunc {
|
|||
// validate the input addresses
|
||||
if util.ValidateServerAddresses(serverInterface.Addresses) == false {
|
||||
log.Warnf("Invalid server interface addresses input from user: %v", serverInterface.Addresses)
|
||||
return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Interface IP addresses must be in CIDR format"})
|
||||
return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Interface IP address must be in CIDR format"})
|
||||
}
|
||||
|
||||
serverInterface.UpdatedAt = time.Now().UTC()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue