From 4513280611d6c4e3409bf75139a9bd844843d462 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 30 May 2000 15:04:52 +0000 Subject: Bug in socket closing. --- proto/ospf/iface.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'proto/ospf') diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 268eb191..e8910a8b 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); } } } -- cgit v1.2.3