]> git.proxmox.com Git - mirror_frr.git/commit - nhrpd/nhrp_vty.c
nhrpd: cache config may disappear if iface not present at startup
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 26 Mar 2020 16:33:53 +0000 (17:33 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 23 Nov 2020 17:16:35 +0000 (17:16 +0000)
commitfef2ed139d140f551cdfcbb21c5a023dea2e02cb
treeec4a61a4744d0cc2924bb964f4b77017cf865c0f
parent2332790973b2ad4364c5d818e2dc72c4c329e73a
nhrpd: cache config may disappear if iface not present at startup

When interface not present at config time, store separately the list of
config parameters. Then, when interface is ready and an address has been configured, the nbma setting is done. Reversely, when interface disappears,
there is no need to keep the maps present, then keep only the configuration.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
nhrpd/nhrp_cache.c
nhrpd/nhrp_interface.c
nhrpd/nhrp_vty.c
nhrpd/nhrpd.h