summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-04-03 19:47:50 +0200
committerLou Berger <lberger@labn.net>2018-04-03 19:47:50 +0200
commite24be24183d053a322ca96d5d6f7dbc36100562c (patch)
tree62688a77ac53a21d429e1c6e1cba87417398e642 /ospfd
parentMakefile.am: add automatic defintion of VERSION_TYPE_(DEV_|RELEASE) CPP type (diff)
downloadfrr-e24be24183d053a322ca96d5d6f7dbc36100562c.tar.xz
frr-e24be24183d053a322ca96d5d6f7dbc36100562c.zip
*: Only test CONFDATE when VERSION_TYPE_DEV defined
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 741607918..21567c6ce 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -2338,7 +2338,7 @@ DEFUN (no_ospf_timers_lsa_min_arrival,
return CMD_SUCCESS;
}
-#if CONFDATE > 20180708
+#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180708
CPP_NOTICE("ospf: `timers lsa arrival (0-1000)` deprecated 2017/07/08")
#endif
ALIAS_HIDDEN(ospf_timers_lsa_min_arrival, ospf_timers_lsa_arrival_cmd,
@@ -2348,7 +2348,7 @@ ALIAS_HIDDEN(ospf_timers_lsa_min_arrival, ospf_timers_lsa_arrival_cmd,
"ospf minimum arrival interval delay\n"
"delay (msec) between accepted lsas\n");
-#if CONFDATE > 20180708
+#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180708
CPP_NOTICE("ospf: `no timers lsa arrival (0-1000)` deprecated 2017/07/08")
#endif
ALIAS_HIDDEN(no_ospf_timers_lsa_min_arrival, no_ospf_timers_lsa_arrival_cmd,