summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/printconf.c
diff options
context:
space:
mode:
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 312ecf11a2f..745b7d189b8 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.13 2004/04/26 04:40:11 henning Exp $ */
+/* $OpenBSD: printconf.c,v 1.14 2004/04/27 22:42:13 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -165,7 +165,7 @@ print_peer(struct peer_config *p)
printf("%s\tannounce all\n", c);
else
printf("%s\tannounce ???\n", c);
- if (p->tcp_md5_key[0])
+ if (p->auth.method == MD5SIG)
printf("%s\ttcp md5sig\n", c);
if (p->attrset.flags)