summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/pfkey.c
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2017-08-21 14:43:34 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2017-08-21 14:43:34 +0000
commitae1b27ad0865287bdf72898d587d4d03fddaa6fe (patch)
treec7d25576cd18e8f94ad730509f50a5c0397aa152 /usr.sbin/bgpd/pfkey.c
parent8169ba6704ec5641d9f7b0d9ff01ad9f7377c2d2 (diff)
undo unintentional commits
Diffstat (limited to 'usr.sbin/bgpd/pfkey.c')
-rw-r--r--usr.sbin/bgpd/pfkey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/pfkey.c b/usr.sbin/bgpd/pfkey.c
index d37db33719e..0092358fb30 100644
--- a/usr.sbin/bgpd/pfkey.c
+++ b/usr.sbin/bgpd/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.50 2017/08/21 14:41:22 phessler Exp $ */
+/* $OpenBSD: pfkey.c,v 1.51 2017/08/21 14:43:33 phessler Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -524,6 +524,8 @@ pfkey_sa_remove(struct bgpd_addr *src, struct bgpd_addr *dst, u_int32_t *spi)
int
pfkey_md5sig_establish(struct peer *p)
{
+ sleep(1);
+
if (!p->auth.spi_out)
if (pfkey_sa_add(&p->auth.local_addr, &p->conf.remote_addr,
p->conf.auth.md5key_len, p->conf.auth.md5key,