diff options
author | avatar <avatar@FreeBSD.org> | 2008-07-22 04:23:57 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2008-07-22 04:23:57 +0000 |
commit | d4098f774ebbce6aed8ba093eccf3f26eb13faef (patch) | |
tree | 629fe1611bfb6969a7d1e543aca5219c8b4ad92c /sys/netinet/in_pcb.h | |
parent | 823ce79a5bcafc8eb919f84fef6937a5636d1978 (diff) | |
download | FreeBSD-src-d4098f774ebbce6aed8ba093eccf3f26eb13faef.zip FreeBSD-src-d4098f774ebbce6aed8ba093eccf3f26eb13faef.tar.gz |
Trying to fix compilation bustage:
- removing 'const' qualifier from an input parameter to conform to the type
required by rw_assert();
- using in_addr->s_addr to retrive 32 bits address value.
Observed by: tinderbox
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 02e5d2d..1f57c7f 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -358,7 +358,7 @@ struct socket * inp_inpcbtosocket(struct inpcb *inp); struct tcpcb * inp_inpcbtotcpcb(struct inpcb *inp); -void inp_4tuple_get(const struct inpcb *inp, uint32_t *laddr, uint16_t *lp, +void inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp, uint32_t *faddr, uint16_t *fp); #endif /* _KERNEL */ |