diff options
Diffstat (limited to 'proto')
-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); } } } |