diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-06-09 00:59:30 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-06-09 00:59:30 +0000 |
commit | 482b3283384a755389d68b2dbd52565e28e183d0 (patch) | |
tree | 4d9efc13e5a6566a981387f93e634c439b8a6b25 /sys/netinet6/nd6_rtr.c | |
parent | 916e695632a43caf3995ffb19e954f234b4bc98f (diff) |
change M_AUTHxx to openbsd definition (M_AUTH_AH)
Diffstat (limited to 'sys/netinet6/nd6_rtr.c')
-rw-r--r-- | sys/netinet6/nd6_rtr.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index 62e6d3477e8..88ae16c9414 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6_rtr.c,v 1.19 2002/06/08 21:51:08 itojun Exp $ */ +/* $OpenBSD: nd6_rtr.c,v 1.20 2002/06/09 00:59:29 itojun Exp $ */ /* $KAME: nd6_rtr.c,v 1.97 2001/02/07 11:09:13 itojun Exp $ */ /* @@ -1136,10 +1136,7 @@ prelist_update(new, dr, m) * Authenticity for NA consists authentication for * both IP header and IP datagrams, doesn't it ? */ -#if defined(M_AUTHIPHDR) && defined(M_AUTHIPDGM) - auth = (m->m_flags & M_AUTHIPHDR - && m->m_flags & M_AUTHIPDGM) ? 1 : 0; -#endif + auth = ((m->m_flags & M_AUTH_AH) && (m->m_flags & M_AUTH)); } if ((pr = nd6_prefix_lookup(new)) != NULL) { |