summaryrefslogtreecommitdiff
path: root/sys/netinet/ipsec_output.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2011-03-05 01:53:17 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2011-03-05 01:53:17 +0000
commit92bfb370614773d7052c95a296f0983778a8ebd1 (patch)
tree7822a93af1b8f79329e2106effa10b77a7711748 /sys/netinet/ipsec_output.c
parent7e30b1685c1e280d1ba41a5b72fb4b1c3a601cf0 (diff)
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_output.c')
-rw-r--r--sys/netinet/ipsec_output.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/ipsec_output.c b/sys/netinet/ipsec_output.c
index 13601532e09..530b17336b4 100644
--- a/sys/netinet/ipsec_output.c
+++ b/sys/netinet/ipsec_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_output.c,v 1.43 2010/07/09 16:58:06 reyk Exp $ */
+/* $OpenBSD: ipsec_output.c,v 1.44 2011/03/05 01:53:16 bluhm Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -501,8 +501,7 @@ ipsp_process_done(struct mbuf *m, struct tdb *tdb)
#if NPF > 0
/* Add pf tag if requested. */
- if (pf_tag_packet(m, tdb->tdb_tag, -1))
- DPRINTF(("failed to tag ipsec packet\n"));
+ pf_tag_packet(m, tdb->tdb_tag, -1);
pf_pkt_addr_changed(m);
#endif