diff options
| author | 2016-05-23 17:53:11 +0000 | |
|---|---|---|
| committer | 2016-05-23 17:53:11 +0000 | |
| commit | 57e0fe15c4c1663536d3f3ba31b9abf7cc37f786 (patch) | |
| tree | 57ec9f95ef7654ef6c3e8b2e41990ca62843023e /usr.sbin/ldpctl/ldpctl.c | |
| parent | Fix mess caused by my commit script. (diff) | |
| download | wireguard-openbsd-57e0fe15c4c1663536d3f3ba31b9abf7cc37f786.tar.xz wireguard-openbsd-57e0fe15c4c1663536d3f3ba31b9abf7cc37f786.zip | |
Sync with ldpd.
Diffstat (limited to 'usr.sbin/ldpctl/ldpctl.c')
| -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"); |
