0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 07:31:54 +00:00

Bug in socket closing.

This commit is contained in:
Ondrej Filip 2000-05-30 15:04:52 +00:00
parent ef6f26b417
commit 4513280611

View File

@ -54,11 +54,7 @@ iface_chstate(struct ospf_iface *ifa, u8 state)
}
else
{
if(ifa->dr_sk!=NULL)
{
sk_close(ifa->dr_sk);
rfree(ifa->dr_sk);
}
if(ifa->dr_sk!=NULL) rfree(ifa->dr_sk);
}
}
}