Skip to content

Commit 995b979

Browse files
committed
increase ClientQuery field max length to 16
1 parent aff201a commit 995b979

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎protocol/client_query.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func buildSupportedClientQueryTypes() []string {
2727

2828
type ClientQueryPDU struct {
2929
From string `validate:"required,alphanum,max=16"`
30-
To string `validate:"required,max=7"`
30+
To string `validate:"required,max=16"`
3131
QueryType string `validate:"required,ascii,min=2,max=16"`
3232
Payload string `validate:""`
3333
}

0 commit comments

Comments
 (0)