summaryrefslogtreecommitdiff
path: root/ldpd/ldp_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/ldp_zebra.c')
-rw-r--r--ldpd/ldp_zebra.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldpd/ldp_zebra.c b/ldpd/ldp_zebra.c
index 8638be83db..d828fbe977 100644
--- a/ldpd/ldp_zebra.c
+++ b/ldpd/ldp_zebra.c
@@ -508,8 +508,9 @@ ldp_zebra_read_pw_status_update(ZAPI_CALLBACK_ARGS)
zebra_read_pw_status_update(cmd, zclient, length, vrf_id, &zpw);
- debug_zebra_in("pseudowire %s status %s", zpw.ifname,
- (zpw.status == PW_STATUS_UP) ? "up" : "down");
+ debug_zebra_in("pseudowire %s status %s 0x%x", zpw.ifname,
+ (zpw.status == PW_FORWARDING) ? "up" : "down",
+ zpw.status);
main_imsg_compose_lde(IMSG_PW_UPDATE, 0, &zpw, sizeof(zpw));