summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-10-12 09:24:24 +0000
committerglebius <glebius@FreeBSD.org>2012-10-12 09:24:24 +0000
commit9879a454afa69e2734e4833c1af50019f15df7e6 (patch)
tree1598085a4c5d301498cab2e57c98649ad6856253 /sys/netinet/udp_usrreq.c
parent1f46bef563e94fd201aab281f16815e590ba45c6 (diff)
downloadFreeBSD-src-9879a454afa69e2734e4833c1af50019f15df7e6.zip
FreeBSD-src-9879a454afa69e2734e4833c1af50019f15df7e6.tar.gz
In ip_stripoptions():
- Remove unused argument and incorrect comment. - Fixup ip_len after stripping.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 9f947a6..ff52577 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -354,7 +354,7 @@ udp_input(struct mbuf *m, int off)
* check the checksum with options still present.
*/
if (iphlen > sizeof (struct ip)) {
- ip_stripoptions(m, (struct mbuf *)0);
+ ip_stripoptions(m);
iphlen = sizeof(struct ip);
}
OpenPOWER on IntegriCloud