summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-03-17 12:40:39 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-03-17 12:40:39 +0000
commite3f80c61b9b14ab0c39013d4206080bf56751949 (patch)
treecb62f950e4f7e275bdb0fb99671e9c6b1e712ece /usr.sbin
parent1be5b9694185f2008ae60e20a224e2f8d7f66294 (diff)
Add missing space for sets in network statements.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/printconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c
index 02e29c070f3..4e65aa11785 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.11 2004/03/12 20:57:22 henning Exp $ */
+/* $OpenBSD: printconf.c,v 1.12 2004/03/17 12:40:38 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -114,6 +114,8 @@ void
print_network(struct network_config *n)
{
printf("network %s/%u", log_addr(&n->prefix), n->prefixlen);
+ if (n->attrset.flags)
+ printf(" ");
print_set(&n->attrset);
printf("\n");
}