mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-07 20:09:20 +02:00
proxy-proto: ensure there's a space after "TCP4/6"
This commit is contained in:
parent
fb8311e48f
commit
2a090b866d
@ -51,6 +51,9 @@ check_proto_v1(char **buf)
|
||||
default: return (-1);
|
||||
}
|
||||
|
||||
if ((*buf)[1] != ' ')
|
||||
return (-1);
|
||||
|
||||
// '4' / '6' + ' '
|
||||
*buf += 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user