diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-28 00:38:40 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-28 00:38:40 +0000 |
commit | 4cd1fd0df592abf3f95171c4dbabdaf46789d581 (patch) | |
tree | 957e729280bedebe662323fab80373b368cd1c35 /usr.sbin/bgpd/pfkey.c | |
parent | 6f8c06f8ef514939747639afb8d5cbd5b1b553e6 (diff) |
prefix the auth related defines by AUTH_, we had a name clash, markus ok
Diffstat (limited to 'usr.sbin/bgpd/pfkey.c')
-rw-r--r-- | usr.sbin/bgpd/pfkey.c | 6 |
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) |