summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-12 21:43:52 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-13 13:29:54 +0100
commitdf8d723c5f4b91949a95ac367caac7fa2fc6d04e (patch)
tree052187d26e58198c5a8e6ae2ab84312d553a1221 /.clang-format
parentMerge pull request #10328 from ton31337/fix/vty_json (diff)
downloadfrr-df8d723c5f4b91949a95ac367caac7fa2fc6d04e.tar.xz
frr-df8d723c5f4b91949a95ac367caac7fa2fc6d04e.zip
*: Add FOREACH_AFI_SAFI_NSF(afi, safi) macro to reduce nesting
Used for graceful-restart mostly. Especially for bgp_show_neighbor_graceful_restart_capability_per_afi_safi() Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index c84a29f86..a620b5c2c 100644
--- a/.clang-format
+++ b/.clang-format
@@ -69,6 +69,7 @@ ForEachMacros:
- SUBGRP_FOREACH_ADJ_SAFE
- AF_FOREACH
- FOREACH_AFI_SAFI
+ - FOREACH_AFI_SAFI_NSF
- FOREACH_SAFI
# ospfd
- LSDB_LOOP