summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/printconf.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-03-03 22:09:09 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-03-03 22:09:09 +0000
commitf5f6c972525081c40b412bdaebd524160433bc50 (patch)
treef9703646a6d4f403782d7d131e1f799d33977809 /usr.sbin/bgpd/printconf.c
parentc58586710282ecc363d093a5c2ab322b1b2ecdd6 (diff)
Compare against correct flag when printing "network inet6 static"
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
-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(" ");