ipv6: added missing put_interface() call.

* Thanks to Stefano for pointing this out!
This commit is contained in:
Axel Dörfler 2013-01-14 12:15:14 +01:00
parent b4fdcd5e54
commit 06d477cd64

View File

@ -1141,6 +1141,8 @@ ipv6_setsockopt(net_protocol* _protocol, int level, int option,
delete protocol->multicast_address;
protocol->multicast_address = (struct sockaddr*)address;
sDatalinkModule->put_interface(interface);
return B_OK;
}
if (option == IPV6_MULTICAST_HOPS) {