From: Igor Putovny Date: Tue, 8 Jul 2025 15:28:33 +0000 (+0200) Subject: Fix EC_SET_WALK macro X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f55411b46d2332f67013933d4313bf0c24bd0c4f;p=thirdparty%2Fbird.git Fix EC_SET_WALK macro --- diff --git a/nest/attrs.h b/nest/attrs.h index 9521a6505..1c01e6270 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -185,7 +185,7 @@ static inline u64 ec_ip4(enum ec_subtype kind, u64 key, u64 val) static inline u64 ec_generic(u64 key, u64 val) { return (key << 32) | val; } -#define EC_SET_WALK_BEGIN(ad) \ +#define EC_SET_WALK_BEGIN(ec,ad) \ do { \ const u32 *_z = int_set_get_data(ad); \ const int _len = ec_set_get_size(ad); \