]> 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)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 17 Dec 2024 08:28:38 +0000 (09:28 +0100)
Now they need device protocol which is always built.

test/bt-utils.h

index d29a0b7c8d2015087a640ccbb124f62516723092..f44b479cc5938a3ca7b1af5906d51892a5701ab0 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);