]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix EC_SET_WALK macro
authorIgor Putovny <igor.putovny@nic.cz>
Tue, 8 Jul 2025 15:28:33 +0000 (17:28 +0200)
committerIgor Putovny <igor.putovny@nic.cz>
Tue, 8 Jul 2025 15:28:33 +0000 (17:28 +0200)
nest/attrs.h

index 9521a6505b85dd2fa6cadd56022fb6d5a1f91561..1c01e6270b9c2a5ae787eeb36f662a4d926874f5 100644 (file)
@@ -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);                      \