diff options
author | hasso <hasso> | 2003-05-25 21:39:29 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-05-25 21:39:29 +0000 |
commit | e26bbebaddd76e2002df675d76531c5ce851a4b0 (patch) | |
tree | 8f7a94dce532e299e4ec018e57975996f6943892 /ospf6d/ospf6_top.c | |
parent | 595db7f16506d2c82a3478e9f8dab00c8733d386 (diff) |
ospf6d part of 6Wind patch.
Diffstat (limited to 'ospf6d/ospf6_top.c')
-rw-r--r-- | ospf6d/ospf6_top.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index a8a058f2..f9cc3299 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -286,6 +286,9 @@ ospf6_create (unsigned long process_id) void ospf6_delete (struct ospf6 *ospf6) { + if (!ospf6) + return; + ospf6_route_remove_all (ospf6->route_table); ospf6_free (ospf6); } |