diff options
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 196df9b..c363032 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -282,8 +282,8 @@ struct rt_addrinfo { 1 + ( (((struct sockaddr *)(sa))->sa_len - 1) | (sizeof(long) - 1) ) ) #define sa_equal(a, b) ( \ - (((struct sockaddr *)(a))->sa_len == ((struct sockaddr *)(b))->sa_len) && \ - (bcmp((a), (b), ((struct sockaddr *)(b))->sa_len) == 0)) + (((const struct sockaddr *)(a))->sa_len == ((const struct sockaddr *)(b))->sa_len) && \ + (bcmp((a), (b), ((const struct sockaddr *)(b))->sa_len) == 0)) #ifdef _KERNEL |