ipv6: added missing put_interface() call.
* Thanks to Stefano for pointing this out!
This commit is contained in:
parent
b4fdcd5e54
commit
06d477cd64
@ -1141,6 +1141,8 @@ ipv6_setsockopt(net_protocol* _protocol, int level, int option,
|
|||||||
|
|
||||||
delete protocol->multicast_address;
|
delete protocol->multicast_address;
|
||||||
protocol->multicast_address = (struct sockaddr*)address;
|
protocol->multicast_address = (struct sockaddr*)address;
|
||||||
|
|
||||||
|
sDatalinkModule->put_interface(interface);
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
if (option == IPV6_MULTICAST_HOPS) {
|
if (option == IPV6_MULTICAST_HOPS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user