]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed several tests which needed static protocol
authorMaria Matejka <mq@ucw.cz>
Tue, 3 Dec 2024 19:08:30 +0000 (20:08 +0100)
committerMaria Matejka <mq@ucw.cz>
Sat, 10 May 2025 15:42:34 +0000 (17:42 +0200)
Now they need device protocol which is always built.

test/bt-utils.h

index 031db6e8869938e0972daea6a0b2d3665d1c89c4..c67d8adffe230d89e73a827038f8dd35d6615342 100644 (file)
@@ -20,8 +20,8 @@
 #define ARGip6_BOTH(x,i) ARGip6_HIGH(x,i), ARGip6_LOW(x,i)
 #define ARGip6(x) ARGip6_BOTH((x), 0), ARGip6_BOTH((x), 1), ARGip6_BOTH((x), 2), ARGip6_BOTH((x), 3)
 
-#define BT_CONFIG_PARSE_ROUTER_ID      "router id 1.1.1.1; \n"
-#define BT_CONFIG_PARSE_STATIC_PROTO   "protocol static { ipv4; } \n"
+#define BT_CONFIG_PARSE_ROUTER_ID      "router id 42; \n"
+#define BT_CONFIG_PARSE_STATIC_PROTO   "protocol device {} \n"
 #define BT_CONFIG_SIMPLE               BT_CONFIG_PARSE_ROUTER_ID BT_CONFIG_PARSE_STATIC_PROTO
 
 uint bt_naive_pow(uint base, uint power);