diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 17:53:12 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 17:53:12 +0000 |
commit | 3a956440a320ef8e75035f0a3488d3b9b53561b9 (patch) | |
tree | 706a0700ef81c9a07658ba6e2bc33a4bd68b0946 | |
parent | 4aa61a12c78d195ecf1fe76608d206a334fbe963 (diff) |
Sync with ldpd.
-rw-r--r-- | usr.sbin/ldpctl/ldpctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpctl/ldpctl.c b/usr.sbin/ldpctl/ldpctl.c index 8c68c4f1216..15f00acd8cb 100644 --- a/usr.sbin/ldpctl/ldpctl.c +++ b/usr.sbin/ldpctl/ldpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpctl.c,v 1.25 2015/12/05 13:11:48 claudio Exp $ +/* $OpenBSD: ldpctl.c,v 1.26 2016/05/23 17:53:11 renato Exp $ * * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -564,7 +564,7 @@ show_l2vpn_pw_msg(struct imsg *imsg) pw = imsg->data; printf("%-11s %-15s %-14u %-10s\n", pw->ifname, - inet_ntoa(pw->nexthop), pw->pwid, + inet_ntoa(pw->lsr_id), pw->pwid, (pw->status ? "UP" : "DOWN")); break; case IMSG_CTL_END: @@ -587,7 +587,7 @@ show_l2vpn_binding_msg(struct imsg *imsg) pw = imsg->data; printf("Neighbor: %s - PWID: %u (%s)\n", - inet_ntoa(pw->nexthop), pw->pwid, + inet_ntoa(pw->lsr_id), pw->pwid, print_pw_type(pw->type)); printf("%-12s%-15s%-15s%-10s\n", "", "Label", "Group-ID", "MTU"); |