mirror of
https://github.com/renorris/openfsd
synced 2026-03-22 06:25:35 +08:00
increase ClientQuery field max length to 16
This commit is contained in:
@@ -27,7 +27,7 @@ func buildSupportedClientQueryTypes() []string {
|
||||
|
||||
type ClientQueryPDU struct {
|
||||
From string `validate:"required,alphanum,max=16"`
|
||||
To string `validate:"required,max=7"`
|
||||
To string `validate:"required,max=16"`
|
||||
QueryType string `validate:"required,ascii,min=2,max=16"`
|
||||
Payload string `validate:""`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user