summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/pfkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/pfkey.c')
-rw-r--r--usr.sbin/bgpd/pfkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/pfkey.c b/usr.sbin/bgpd/pfkey.c
index 02af2722aef..7bbcf8ca47b 100644
--- a/usr.sbin/bgpd/pfkey.c
+++ b/usr.sbin/bgpd/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.20 2004/04/27 22:42:13 henning Exp $ */
+/* $OpenBSD: pfkey.c,v 1.21 2004/04/28 00:38:39 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -496,7 +496,7 @@ pfkey_sa_remove(struct bgpd_addr *src, struct bgpd_addr *dst, u_int32_t *spi)
int
pfkey_auth_establish(struct peer *p)
{
- if (p->conf.auth.method != MD5SIG)
+ if (p->conf.auth.method != AUTH_MD5SIG)
return (0);
if (!p->conf.auth.spi_out)
@@ -515,7 +515,7 @@ pfkey_auth_establish(struct peer *p)
int
pfkey_auth_remove(struct peer *p)
{
- if (p->conf.auth.method != MD5SIG)
+ if (p->conf.auth.method != AUTH_MD5SIG)
return (0);
if (p->conf.auth.spi_out)