summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_divert.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2015-09-11 08:17:07 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2015-09-11 08:17:07 +0000
commit6e2fd864ccafbc76f535f19cb553dbfedb9f4ee0 (patch)
tree25dc52aeb65b497137b43c6b844c8134f2cceafa /sys/netinet6/ip6_divert.c
parent4973e1d10a5fc2c8b4ce4224cae9df3a9ecab73b (diff)
Kill yet another argument to functions in IPv6. This time ip6_output's
ifpp - XXX: just for statistics ifpp is always NULL in all callers so that statistic confirms ifpp is dying OK mpi@
Diffstat (limited to 'sys/netinet6/ip6_divert.c')
-rw-r--r--sys/netinet6/ip6_divert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_divert.c b/sys/netinet6/ip6_divert.c
index 87ed5eebf1a..0349ded5abf 100644
--- a/sys/netinet6/ip6_divert.c
+++ b/sys/netinet6/ip6_divert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_divert.c,v 1.37 2015/09/10 08:46:17 claudio Exp $ */
+/* $OpenBSD: ip6_divert.c,v 1.38 2015/09/11 08:17:06 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -167,7 +167,7 @@ divert6_output(struct inpcb *inp, struct mbuf *m, struct mbuf *nam,
niq_enqueue(&ip6intrq, m); /* return error on q full? */
} else {
error = ip6_output(m, NULL, &inp->inp_route6,
- IP_ALLOWBROADCAST | IP_RAWOUTPUT, NULL, NULL, NULL);
+ IP_ALLOWBROADCAST | IP_RAWOUTPUT, NULL, NULL);
}
div6stat.divs_opackets++;