diff options
| author | Andre Oppermann <andre@FreeBSD.org> | 2003-11-16 12:50:33 +0000 |
|---|---|---|
| committer | Andre Oppermann <andre@FreeBSD.org> | 2003-11-16 12:50:33 +0000 |
| commit | be7e82e44a2ba4a0baabe28cc2a6c97f78e5d39c (patch) | |
| tree | 0cbc99cf755c18f2db52a84f7ebc69a946596ceb | |
| parent | 565f53bbaad7905339c3d08c349c9e8618ceb0f5 (diff) | |
Notes
| -rw-r--r-- | sys/netinet/ip_fastfwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c index 2b81b6af9746..f831b392d6eb 100644 --- a/sys/netinet/ip_fastfwd.c +++ b/sys/netinet/ip_fastfwd.c @@ -378,7 +378,7 @@ fallback: if (tag == NULL) goto drop; tag->m_flags = PACKET_TAG_DIVERT; - tag->m_data = (caddr_t)(u_long)args.divert_rule; + tag->m_data = (caddr_t)(intptr_t)args.divert_rule; tag->m_next = m; /* XXX: really bloody hack, see ip_input */ tag->m_nextpkt = (struct mbuf *)1; @@ -567,7 +567,7 @@ passin: goto drop; } tag->m_flags = PACKET_TAG_DIVERT; - tag->m_data = (caddr_t)(u_long)args.divert_rule; + tag->m_data = (caddr_t)(intptr_t)args.divert_rule; tag->m_next = m; /* XXX: really bloody hack, see ip_input */ tag->m_nextpkt = (struct mbuf *)1; |
