mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-23 21:33:31 +00:00
zebra: make a zif MTYPE internal/static
Make an MTYPE used in zifs internal/static Signed-off-by: Mark Stapp <mjs@cisco.com>
This commit is contained in:
parent
1668f3262a
commit
1f8d81335d
@ -43,7 +43,7 @@ DEFINE_MTYPE_STATIC(ZEBRA, ZINFO, "Zebra Interface Information");
|
||||
DEFINE_HOOK(zebra_if_extra_info, (struct vty * vty, struct interface *ifp),
|
||||
(vty, ifp));
|
||||
|
||||
DEFINE_MTYPE(ZEBRA, ZIF_DESC, "Intf desc");
|
||||
DEFINE_MTYPE_STATIC(ZEBRA, ZIF_DESC, "Intf desc");
|
||||
|
||||
static void if_down_del_nbr_connected(struct interface *ifp);
|
||||
|
||||
|
@ -94,9 +94,6 @@ enum zebra_if_flags {
|
||||
#define ZEBRA_IF_IS_PROTODOWN_ONLY_EXTERNAL(zif) \
|
||||
((zif)->protodown_rc == ZEBRA_PROTODOWN_EXTERNAL)
|
||||
|
||||
/* Mem type for zif desc */
|
||||
DECLARE_MTYPE(ZIF_DESC);
|
||||
|
||||
/* `zebra' daemon local interface structure. */
|
||||
struct zebra_if {
|
||||
/* back pointer to the interface */
|
||||
|
Loading…
Reference in New Issue
Block a user