diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-27 22:42:14 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-27 22:42:14 +0000 |
commit | 4ce8f40e32b7e5c6fe38f1317c3a4ab02541ecbf (patch) | |
tree | 2aa446ec9aa0425332c62b175ce348103fd2237b /usr.sbin/bgpd/printconf.c | |
parent | 952562b1234b6166a0d863ba84fcf438a935d011 (diff) |
rename the ipsec struct to auth, move all tcpmd5 related fields in there, and
add a generic "method" field that expresses what method
(none/md5sig/ipsec manual/ipsec ike) is in use
markus ok
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 4 |
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) |