diff options
| author | 2003-08-14 19:00:12 +0000 | |
|---|---|---|
| committer | 2003-08-14 19:00:12 +0000 | |
| commit | 0bcc08bcc013755db1037c473bec9a63ab23e35a (patch) | |
| tree | 8394aebd1dec66441235816d12adae1b3223fd7c /sys/net/pf_norm.c | |
| parent | correct length mask (diff) | |
| download | wireguard-openbsd-0bcc08bcc013755db1037c473bec9a63ab23e35a.tar.xz wireguard-openbsd-0bcc08bcc013755db1037c473bec9a63ab23e35a.zip | |
m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts.
Diffstat (limited to 'sys/net/pf_norm.c')
| -rw-r--r-- | sys/net/pf_norm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 5765cd379d8..cc49e4ed1b3 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.70 2003/07/17 16:25:52 frantzen Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.71 2003/08/14 19:00:12 jason Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -1275,7 +1275,7 @@ pf_normalize_tcp(int dir, struct ifnet *ifp, struct mbuf *m, int ipoff, /* copy back packet headers if we sanitized */ if (rewrite) - m_copyback(m, off, sizeof(*th), (caddr_t)th); + m_copyback(m, off, sizeof(*th), th); return (PF_PASS); |
