diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-05-20 23:52:16 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-05-21 20:59:08 +0200 |
commit | 81fddbe7ae5defbe6b9a0c8716d317cfaf503a62 (patch) | |
tree | e19b153aa970369cfb32f39537de72ade98d9995 /isisd/isis_pdu.c | |
parent | lib: add missing extern "C" {} blocks to new headers (diff) | |
download | frr-81fddbe7ae5defbe6b9a0c8716d317cfaf503a62.tar.xz frr-81fddbe7ae5defbe6b9a0c8716d317cfaf503a62.zip |
*: rename new ForEach macros from the typesafe API
This is necessary to avoid a name collision with std::for_each
from C++.
Fixes the compilation of the gRPC northbound module.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index 9c633117b..3d16d5601 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -2258,7 +2258,7 @@ static int send_psnp(int level, struct isis_circuit *circuit) if (CHECK_FLAG(passwd->snp_auth, SNP_AUTH_SEND)) isis_tlvs_add_auth(tlvs, passwd); - for_each (lspdb, &circuit->area->lspdb[level - 1], lsp) { + frr_each (lspdb, &circuit->area->lspdb[level - 1], lsp) { if (ISIS_CHECK_FLAG(lsp->SSNflags, circuit)) isis_tlvs_add_lsp_entry(tlvs, lsp); |