summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-08-02 12:30:16 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-08-02 12:30:16 +0000
commit5826e86281fa2257ecdd31f3b63c59e14d0c489d (patch)
tree0cd2c9e1b89334f6eae240ba25c9ab8284b7cc42 /usr.sbin/bgpd
parentfde97e89177fcc4c053c2e7f5c6f3b047e73d2c0 (diff)
Forgot to add "anounce default-route" here. OK henning@
Diffstat (limited to 'usr.sbin/bgpd')
-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 61528ed7cfa..c868009a190 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.24 2004/07/05 16:54:53 henning Exp $ */
+/* $OpenBSD: printconf.c,v 1.25 2004/08/02 12:30:15 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -173,6 +173,8 @@ print_peer(struct peer_config *p)
printf("%s\tannounce none\n", c);
else if (p->announce_type == ANNOUNCE_ALL)
printf("%s\tannounce all\n", c);
+ else if (p->announce_type == ANNOUNCE_DEFAULT_ROUTE)
+ printf("%s\tannounce default-route\n", c);
else
printf("%s\tannounce ???\n", c);