diff options
| author | Martin Winter <mwinter@opensourcerouting.org> | 2018-04-05 01:23:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-05 01:23:37 +0100 |
| commit | 381fec245296dace383fcdb4ff54bfa127dc63d3 (patch) | |
| tree | 3db7c0d7de5af645ecb18e25caa175f8d4350090 /ospf6d/ospf6_top.c | |
| parent | f0e46860883e0c1c7063078f9da32af780daaed7 (diff) | |
| parent | 5483f10004a72a95ce843934353c5a5dceebaec5 (diff) | |
Merge pull request #2023 from LabNConsulting/working/master/confdate+release
Use new way of avoiding deprecated related warnings in non-dev branches
Diffstat (limited to 'ospf6d/ospf6_top.c')
| -rw-r--r-- | ospf6d/ospf6_top.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index 3f1b30b9e3..e4a4891526 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -422,13 +422,13 @@ DEFUN(no_ospf6_router_id, return CMD_SUCCESS; } -#if CONFDATE > 20180828 +#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180828 CPP_NOTICE("ospf6: `router-id A.B.C.D` deprecated 2017/08/28") #endif ALIAS_HIDDEN(ospf6_router_id, ospf6_router_id_hdn_cmd, "router-id A.B.C.D", "Configure OSPF6 Router-ID\n" V4NOTATION_STR) -#if CONFDATE > 20180828 +#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180828 CPP_NOTICE("ospf6: `no router-id A.B.C.D` deprecated 2017/08/28") #endif ALIAS_HIDDEN(no_ospf6_router_id, no_ospf6_router_id_hdn_cmd, |
