summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-11-02 11:46:17 +0000
committerhenning <henning@openbsd.org>2004-11-02 11:46:17 +0000
commit42b2f525236b2ac9c64e1833c0404ffe501eeffe (patch)
treef585e400ead8c928b00215b16374addd689338cf
parentKNF - reyk, look at this diff (diff)
downloadwireguard-openbsd-42b2f525236b2ac9c64e1833c0404ffe501eeffe.tar.xz
wireguard-openbsd-42b2f525236b2ac9c64e1833c0404ffe501eeffe.zip
now that carp media descriptions are available through the ifmedia framework
print carp interface status correctly
-rw-r--r--usr.sbin/bgpctl/bgpctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 45bb0813426..c4fd6ae4c27 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.68 2004/10/26 13:12:22 henning Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.69 2004/11/02 11:46:17 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -768,6 +768,9 @@ show_interface_msg(struct imsg *imsg)
case IFT_ISO88025:
ifms_type = IFM_TOKEN;
break;
+ case IFT_CARP:
+ ifms_type = IFM_CARP;
+ break;
default:
ifms_type = 0;
break;