diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-08 08:24:17 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-08 09:06:22 -0400 |
| commit | 99a6a31e5093159c75d950b8b6f30116a6152ac0 (patch) | |
| tree | f5f9733c85d14f76579333fd65222a324a565eb4 /zebra/zebra_vty.c | |
| parent | 00857b241e6c27efad54a19b4226c37f04d80bf5 (diff) | |
*: Define the number of seconds in a Day, Week and year
The defines:
ONE_DAY_SECOND
ONE_WEEK_SECOND
ONE_YEAR_SECOND
were being defined all over the system, move the
define to a central location.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 13c4429d6a..c1e352faa6 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -55,9 +55,6 @@ static int do_show_ip_route(struct vty *vty, const char *vrf_name, afi_t afi, static void vty_show_ip_route_detail(struct vty *vty, struct route_node *rn, int mcast); -#define ONE_DAY_SECOND 60*60*24 -#define ONE_WEEK_SECOND 60*60*24*7 - /* VNI range as per RFC 7432 */ #define CMD_VNI_RANGE "(1-16777215)" |
