diff options
author | 2011-03-05 01:53:16 +0000 | |
---|---|---|
committer | 2011-03-05 01:53:16 +0000 | |
commit | f1030b202f19266efb6a0912766d1bd368f12ebc (patch) | |
tree | 999cd1d3bfdd5e42903a1594a59da9d1df3f5195 /sys/netinet/ipsec_input.c | |
parent | Add TouchScreen support. Makes newer Gunze USB TouchScreen devices work. (diff) | |
download | wireguard-openbsd-f1030b202f19266efb6a0912766d1bd368f12ebc.tar.xz wireguard-openbsd-f1030b202f19266efb6a0912766d1bd368f12ebc.zip |
The function pf_tag_packet() never fails. Remove a redundant check
and make it void.
ok henning@, markus@, mcbride@
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-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 1c565a10040..54cb2484778 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.99 2010/12/21 19:16:15 markus Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.100 2011/03/05 01:53:16 bluhm Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -574,8 +574,7 @@ ipsec_common_input_cb(struct mbuf *m, struct tdb *tdbp, int skip, int protoff, #if NPF > 0 /* Add pf tag if requested. */ - if (pf_tag_packet(m, tdbp->tdb_tag, -1)) - DPRINTF(("failed to tag ipsec packet\n")); + pf_tag_packet(m, tdbp->tdb_tag, -1); pf_pkt_addr_changed(m); #endif |