diff -up net-snmp-5.4.1/agent/mibgroup/mibII/ipv6.c.backup_patch_2 net-snmp-5.4.1/agent/mibgroup/mibII/ipv6.c
--- net-snmp-5.4.1/agent/mibgroup/mibII/ipv6.c.backup_patch_2 2007-05-25 00:01:04.000000000 +0200
+++ net-snmp-5.4.1/agent/mibgroup/mibII/ipv6.c 2008-07-25 12:52:36.000000000 +0200
@@ -2017,6 +2017,7 @@ var_ifv6Entry(register struct variable *
break;
}
long_return = (ifr.ifr_flags & flag) ? 1 : 2;
+ close(s);
return (u_char *) & long_return;