summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpctl/ldpctl.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-07-21 09:34:57 +0000
committerclaudio <claudio@openbsd.org>2015-07-21 09:34:57 +0000
commit39cd9c947d06ba35274ce2ace91f7713e8f78213 (patch)
tree754bfbbd1d74c0fb137894de2755c8d6a8aa8337 /usr.sbin/ldpctl/ldpctl.c
parentMove vmt.c to sys/dev/pv/vmt.c. The history is lost but can be found (diff)
downloadwireguard-openbsd-39cd9c947d06ba35274ce2ace91f7713e8f78213.tar.xz
wireguard-openbsd-39cd9c947d06ba35274ce2ace91f7713e8f78213.zip
Remove the check for the connected flag since it is no longer around.
Minimal fix to unbreak the tree.
Diffstat (limited to 'usr.sbin/ldpctl/ldpctl.c')
-rw-r--r--usr.sbin/ldpctl/ldpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpctl/ldpctl.c b/usr.sbin/ldpctl/ldpctl.c
index 9f05b7a2fdf..0e507f4a097 100644
--- a/usr.sbin/ldpctl/ldpctl.c
+++ b/usr.sbin/ldpctl/ldpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpctl.c,v 1.20 2015/07/21 05:44:50 renato Exp $
+/* $OpenBSD: ldpctl.c,v 1.21 2015/07/21 09:34:57 claudio Exp $
*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -393,7 +393,7 @@ show_lib_msg(struct imsg *imsg)
if (!rt->in_use) {
if (asprintf(&remote, "-") == -1)
err(1, NULL);
- } else if (rt->connected || rt->remote_label == NO_LABEL) {
+ } else if (rt->remote_label == NO_LABEL) {
if (asprintf(&remote, "Untagged") == -1)
err(1, NULL);
} else if (rt->remote_label == MPLS_LABEL_IMPLNULL) {