summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 18:36:51 +0000
committerOndrej Filip <feela@network.cz>2000-05-31 18:36:51 +0000
commit489b21555e59d39d1c26dd3051f077c6f0a07c85 (patch)
treea1ba0f182481f68eb09fd76a7ecec0fc18e37985
parent46962be628c1bd1d9c2badeea181ff6f87f0cb29 (diff)
Why does not work "sk_close(sk);rfree(sk);"?
-rw-r--r--proto/ospf/iface.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index d0bd089e..befcf7fd 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -75,17 +75,14 @@ downint(struct ospf_iface *ifa)
rem_node(NODE ifa);
if(ifa->hello_sk!=NULL)
{
- sk_close(ifa->hello_sk);
rfree(ifa->hello_sk);
}
if(ifa->dr_sk!=NULL)
{
- sk_close(ifa->dr_sk);
rfree(ifa->dr_sk);
}
if(ifa->ip_sk!=NULL)
{
- sk_close(ifa->ip_sk);
rfree(ifa->ip_sk);
}
if(ifa->wait_timer!=NULL)