From 06d477cd643dd602787aeecfb8985a157605fedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 14 Jan 2013 12:15:14 +0100 Subject: [PATCH] ipv6: added missing put_interface() call. * Thanks to Stefano for pointing this out! --- src/add-ons/kernel/network/protocols/ipv6/ipv6.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/add-ons/kernel/network/protocols/ipv6/ipv6.cpp b/src/add-ons/kernel/network/protocols/ipv6/ipv6.cpp index 177b91faf8..0a5120fb96 100644 --- a/src/add-ons/kernel/network/protocols/ipv6/ipv6.cpp +++ b/src/add-ons/kernel/network/protocols/ipv6/ipv6.cpp @@ -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) {