* Fixed getsockopt(), patch by Ma Jie - it would always assume IP_MULTICAST_TTL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31396 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a61e0d36a0
commit
2dd3063164
@ -1122,7 +1122,7 @@ ipv4_getsockopt(net_protocol* _protocol, int level, int option, void* value,
|
||||
return get_int_option(value, *_length, protocol->time_to_live);
|
||||
if (option == IP_TOS)
|
||||
return get_int_option(value, *_length, protocol->service_type);
|
||||
if (IP_MULTICAST_TTL) {
|
||||
if (option == IP_MULTICAST_TTL) {
|
||||
return get_int_option(value, *_length,
|
||||
protocol->multicast_time_to_live);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user