mirror of
https://github.com/renorris/openfsd
synced 2026-04-20 09:55:43 +08:00
increase ClientQuery field max length to 16
This commit is contained in:
@@ -27,7 +27,7 @@ func buildSupportedClientQueryTypes() []string {
|
|||||||
|
|
||||||
type ClientQueryPDU struct {
|
type ClientQueryPDU struct {
|
||||||
From string `validate:"required,alphanum,max=16"`
|
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"`
|
QueryType string `validate:"required,ascii,min=2,max=16"`
|
||||||
Payload string `validate:""`
|
Payload string `validate:""`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user