diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-05-31 13:15:54 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-05-31 13:15:54 +0000 |
commit | 956076bda4f834be239075d492595bf4cfd779a0 (patch) | |
tree | 684c0cf0167beea3d7e0a4f316a679c26bef726f /include/netdb.h | |
parent | d8793a1eb2f35729775ed62e6b1bfb59400984f2 (diff) |
The function rip6_ctlinput() claims that sa6_src is constant to
allow the assingment of &sa6_any. But rip6_ctlinput() could not
guarantee that as it casted away the const attribute when it passes
the pointer to in6_pcbnotify(). Replace sockaddr with const
sockaddr_in6 in the in6_pcbnotify() parameters. This reduces the
number of casts. Also adjust in6_pcbhashlookup() to handle the
const attribute correctly.
Input and OK claudio@
Diffstat (limited to 'include/netdb.h')
0 files changed, 0 insertions, 0 deletions