summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-03-03 22:09:08 +0000
committerclaudio <claudio@openbsd.org>2010-03-03 22:09:08 +0000
commit076323243c2bf407497ae4b655c5e602054d6491 (patch)
tree1f40c04b436177edf793b51e94472320565a8b38
parentAdd support for the ipp_ind_ext_int[0] interrupt. (diff)
downloadwireguard-openbsd-076323243c2bf407497ae4b655c5e602054d6491.tar.xz
wireguard-openbsd-076323243c2bf407497ae4b655c5e602054d6491.zip
Compare against correct flag when printing "network inet6 static"
-rw-r--r--usr.sbin/bgpd/printconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c
index 4f658546015..388acdc9de4 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.77 2009/12/17 09:32:59 claudio Exp $ */
+/* $OpenBSD: printconf.c,v 1.78 2010/03/03 22:09:08 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -291,7 +291,7 @@ print_mainconf(struct bgpd_config *conf)
print_set(&conf->connectset6);
printf("\n");
}
- if (conf->flags & BGPD_FLAG_REDIST_STATIC) {
+ if (conf->flags & BGPD_FLAG_REDIST6_STATIC) {
printf("network inet6 static");
if (!TAILQ_EMPTY(&conf->staticset6))
printf(" ");