From 4cd1fd0df592abf3f95171c4dbabdaf46789d581 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 28 Apr 2004 00:38:40 +0000 Subject: prefix the auth related defines by AUTH_, we had a name clash, markus ok --- usr.sbin/bgpd/pfkey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpd/pfkey.c') 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 @@ -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) -- cgit v1.2.3