summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-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 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);
}
}
}