diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-20 18:35:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-20 18:35:44 +0000 |
commit | b727602b58a9a58a423ed93a8f437f8f50b3d3f6 (patch) | |
tree | 67d0cd0353f7440a4c3a8ca73ce4142bbc2d69eb /sys | |
parent | 80c8b7992ae69c9dd7a4fb82ad2dda79bea1ea61 (diff) |
knf
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ipsec_input.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index b268be7b0ab..53b547d857b 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.62 2003/02/20 18:33:49 jason Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.63 2003/02/20 18:35:43 deraadt Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -516,8 +516,7 @@ ipsec_common_input_cb(struct mbuf *m, struct tdb *tdbp, int skip, int protoff, /* Check if we had authenticated ESP. */ if (tdbp->tdb_authalgxform) m->m_flags |= M_AUTH; - } - else if (sproto == IPPROTO_IPCOMP) + } else if (sproto == IPPROTO_IPCOMP) m->m_flags |= M_COMP; else m->m_flags |= M_AUTH | M_AUTH_AH; |