diff options
Diffstat (limited to 'sbin/isakmpd/sa.c')
-rw-r--r-- | sbin/isakmpd/sa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c index a813883c61b..897713c11ce 100644 --- a/sbin/isakmpd/sa.c +++ b/sbin/isakmpd/sa.c @@ -1,5 +1,5 @@ -/* $OpenBSD: sa.c,v 1.4 1998/11/17 22:36:20 niklas Exp $ */ -/* $EOM: sa.c,v 1.56 1998/11/17 21:58:07 niklas Exp $ */ +/* $OpenBSD: sa.c,v 1.5 1998/11/20 07:31:56 niklas Exp $ */ +/* $EOM: sa.c,v 1.57 1998/11/20 07:10:22 niklas Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. @@ -424,7 +424,7 @@ sa_isakmp_lookup_by_peer (struct sockaddr *addr, size_t addr_len) * XXX We check the transport because it can be NULL until we fix * the initiator case to set the transport always. */ - if (sa->phase == 1 && (sa->flags & SA_READY) && sa->transport) + if (sa->phase == 1 && (sa->flags & SA_FLAG_READY) && sa->transport) { sa->transport->vtbl->get_dst (sa->transport, &taddr, &taddr_len); if (taddr_len == addr_len && memcmp (taddr, addr, addr_len) == 0) |