mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Bug in socket closing.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user