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:
parent
ef6f26b417
commit
4513280611
@ -54,11 +54,7 @@ iface_chstate(struct ospf_iface *ifa, u8 state)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(ifa->dr_sk!=NULL)
|
if(ifa->dr_sk!=NULL) rfree(ifa->dr_sk);
|
||||||
{
|
|
||||||
sk_close(ifa->dr_sk);
|
|
||||||
rfree(ifa->dr_sk);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user