mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
bgpd: remove VERSION_TYPE_DEV from CONFDATE checks
Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
308fea4ced
commit
bee57a7a07
@ -772,7 +772,7 @@ static void bgp_clear_star_soft_out(struct vty *vty, const char *name)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BGP global configuration. */
|
/* BGP global configuration. */
|
||||||
#if defined(VERSION_TYPE_DEV) && (CONFDATE > 20190601)
|
#if (CONFDATE > 20190601)
|
||||||
CPP_NOTICE("bgpd: time to remove deprecated bgp multiple-instance")
|
CPP_NOTICE("bgpd: time to remove deprecated bgp multiple-instance")
|
||||||
CPP_NOTICE("This includes BGP_OPT_MULTIPLE_INSTANCE")
|
CPP_NOTICE("This includes BGP_OPT_MULTIPLE_INSTANCE")
|
||||||
#endif
|
#endif
|
||||||
@ -806,7 +806,7 @@ DEFUN_HIDDEN (no_bgp_multiple_instance,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(VERSION_TYPE_DEV) && (CONFDATE > 20190601)
|
#if (CONFDATE > 20190601)
|
||||||
CPP_NOTICE("bgpd: time to remove deprecated cli bgp config-type cisco")
|
CPP_NOTICE("bgpd: time to remove deprecated cli bgp config-type cisco")
|
||||||
CPP_NOTICE("This includes BGP_OPT_CISCO_CONFIG")
|
CPP_NOTICE("This includes BGP_OPT_CISCO_CONFIG")
|
||||||
#endif
|
#endif
|
||||||
@ -2005,7 +2005,7 @@ DEFUN (no_bgp_fast_external_failover,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* "bgp enforce-first-as" configuration. */
|
/* "bgp enforce-first-as" configuration. */
|
||||||
#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180517
|
#if CONFDATE > 20180517
|
||||||
CPP_NOTICE("bgpd: remove deprecated '[no] bgp enforce-first-as' commands")
|
CPP_NOTICE("bgpd: remove deprecated '[no] bgp enforce-first-as' commands")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -9126,7 +9126,7 @@ static void bgp_show_peer(struct vty *vty, struct peer *p, uint8_t use_json,
|
|||||||
uptime -= p->uptime;
|
uptime -= p->uptime;
|
||||||
epoch_tbuf = time(NULL) - uptime;
|
epoch_tbuf = time(NULL) - uptime;
|
||||||
|
|
||||||
#if defined(VERSION_TYPE_DEV) && CONFDATE > 20200101
|
#if CONFDATE > 20200101
|
||||||
CPP_NOTICE(
|
CPP_NOTICE(
|
||||||
"bgpTimerUp should be deprecated and can be removed now");
|
"bgpTimerUp should be deprecated and can be removed now");
|
||||||
#endif
|
#endif
|
||||||
|
@ -7356,7 +7356,7 @@ static void bgp_config_write_family(struct vty *vty, struct bgp *bgp, afi_t afi,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180517
|
#if CONFDATE > 20180517
|
||||||
CPP_NOTICE("bgpd: remove 'bgp enforce-first-as' config migration from bgp_config_write")
|
CPP_NOTICE("bgpd: remove 'bgp enforce-first-as' config migration from bgp_config_write")
|
||||||
#endif
|
#endif
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
Loading…
Reference in New Issue
Block a user