summaryrefslogtreecommitdiff
path: root/tests/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ospfd')
-rw-r--r--tests/ospfd/common.c3
-rw-r--r--tests/ospfd/test_ospf_spf.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/ospfd/common.c b/tests/ospfd/common.c
index eb30c4016e..ef5e3ed177 100644
--- a/tests/ospfd/common.c
+++ b/tests/ospfd/common.c
@@ -74,7 +74,8 @@ void print_route_table(struct vty *vty, struct route_table *rt)
label_stack = path->srni.backup_label_stack;
mpls_label2str(label_stack->num_labels,
label_stack->label, buf,
- MPLS_LABEL_STRLEN, true);
+ MPLS_LABEL_STRLEN,
+ ZEBRA_LSP_NONE, true);
vty_out(vty, " and backup path %s", buf);
}
vty_out(vty, "\n");
diff --git a/tests/ospfd/test_ospf_spf.c b/tests/ospfd/test_ospf_spf.c
index 73f2e29834..b8a2aef69e 100644
--- a/tests/ospfd/test_ospf_spf.c
+++ b/tests/ospfd/test_ospf_spf.c
@@ -107,7 +107,7 @@ static void test_run_spf(struct vty *vty, struct ospf *ospf,
->num_labels,
q_space->label_stack->label,
label_buf, MPLS_LABEL_STRLEN,
- true);
+ ZEBRA_LSP_NONE, true);
vty_out(vty, "\nLabel stack: %s\n",
label_buf);
} else {