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 else
{ {
if(ifa->dr_sk!=NULL) if(ifa->dr_sk!=NULL) rfree(ifa->dr_sk);
{
sk_close(ifa->dr_sk);
rfree(ifa->dr_sk);
}
} }
} }
} }