summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-30 17:04:52 +0200
committerOndrej Filip <feela@network.cz>2000-05-30 17:04:52 +0200
commit4513280611d6c4e3409bf75139a9bd844843d462 (patch)
tree8c8ca2fead3c7c50ad0d91c702568ca4863c0087
parentef6f26b417060f9ac6c26224469b909a0c3aa933 (diff)
downloadbird-4513280611d6c4e3409bf75139a9bd844843d462.tar
bird-4513280611d6c4e3409bf75139a9bd844843d462.zip
Bug in socket closing.
-rw-r--r--proto/ospf/iface.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 268eb19..e8910a8 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -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);
}
}
}