diff options
Diffstat (limited to 'bfdd/bfd.c')
| -rw-r--r-- | bfdd/bfd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfdd/bfd.c b/bfdd/bfd.c index 234fc6d397..18f331e201 100644 --- a/bfdd/bfd.c +++ b/bfdd/bfd.c @@ -1941,6 +1941,14 @@ void bfd_sessions_remove_manual(void) hash_iterate(bfd_key_hash, _bfd_session_remove_manual, NULL); } +void bfd_profiles_remove(void) +{ + struct bfd_profile *bp; + + while ((bp = TAILQ_FIRST(&bplist)) != NULL) + bfd_profile_free(bp); +} + /* * Profile related hash functions. */ |
