diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-30 17:04:52 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-30 17:04:52 +0200 |
commit | 4513280611d6c4e3409bf75139a9bd844843d462 (patch) | |
tree | 8c8ca2fead3c7c50ad0d91c702568ca4863c0087 | |
parent | ef6f26b417060f9ac6c26224469b909a0c3aa933 (diff) | |
download | bird-4513280611d6c4e3409bf75139a9bd844843d462.tar bird-4513280611d6c4e3409bf75139a9bd844843d462.zip |
Bug in socket closing.
-rw-r--r-- | proto/ospf/iface.c | 6 |
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); } } } |