mirror of
https://github.com/renorris/openfsd
synced 2026-04-05 06:45:33 +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