Revert "Check needs extra paranthesis to aviod ambiguity."
This reverts commit 4e219110d4
.
The commit also added the mask that caused ambiguity.
It shouldn't be there.
This commit is contained in:
parent
913d4886fe
commit
3eee68eb9a
@ -538,7 +538,7 @@ tcp_getsockopt(net_protocol* _protocol, int level, int option, void* value,
|
||||
{
|
||||
TCPEndpoint* protocol = (TCPEndpoint*)_protocol;
|
||||
|
||||
if ((level & LEVEL_MASK) == IPPROTO_TCP)
|
||||
if (level == IPPROTO_TCP)
|
||||
return protocol->GetOption(option, value, _length);
|
||||
|
||||
return protocol->next->module->getsockopt(protocol->next, level, option,
|
||||
|
Loading…
Reference in New Issue
Block a user