* 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:
Axel Dörfler 2009-07-03 16:54:23 +00:00
parent a61e0d36a0
commit 2dd3063164
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}