summaryrefslogtreecommitdiff
path: root/isisd/isis_pdu.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-05-20 18:52:16 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-05-21 15:59:08 -0300
commit81fddbe7ae5defbe6b9a0c8716d317cfaf503a62 (patch)
treee19b153aa970369cfb32f39537de72ade98d9995 /isisd/isis_pdu.c
parenteea3c899cdb2aa58abea00c6d2e57b5bb0d74d49 (diff)
*: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c
index 9c633117b0..3d16d56016 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);