diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-04-16 16:17:31 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-04-22 16:10:04 -0300 |
| commit | 1f7be0d242dbff4c4b49ddd6d157ac7eabf9b931 (patch) | |
| tree | 1777a360a781a1d50b67f0919094ea1f413b5a2a /ospf6d/ospf6_interface.c | |
| parent | 4a9e802c3cd64141a7615ad00d845c319f552ce1 (diff) | |
ospf6d: add support for BFD profiles
Allow user to pre configure BFD sessions using profiles.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 60ead06f3e..f3af8b308f 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -275,6 +275,9 @@ void ospf6_interface_delete(struct ospf6_interface *oi) /* disable from area list if possible */ ospf6_area_interface_delete(oi); + /* Free BFD allocated data. */ + XFREE(MTYPE_TMP, oi->bfd_config.profile); + XFREE(MTYPE_OSPF6_IF, oi); } |
