summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ipaddr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ipaddr.h b/lib/ipaddr.h
index 76c7c15ffd..888955fba0 100644
--- a/lib/ipaddr.h
+++ b/lib/ipaddr.h
@@ -172,9 +172,11 @@ static inline bool ipaddr_is_same(const struct ipaddr *ip1,
return ipaddr_cmp(ip1, ip2) == 0;
}
+/* clang-format off */
#ifdef _FRR_ATTRIBUTE_PRINTFRR
#pragma FRR printfrr_ext "%pIA" (struct ipaddr *)
#endif
+/* clang-format on */
#ifdef __cplusplus
}