diff options
author | ru <ru@FreeBSD.org> | 2004-04-19 07:20:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-19 07:20:32 +0000 |
commit | 126fcbbfad419f17b82db7655c353c8344d86183 (patch) | |
tree | 7677063f2a07a19fd98bf985fe25606e4efc1bdd /sys/net | |
parent | 3d1134df291d4530fc47d0a28f88d951986e6a4c (diff) | |
download | FreeBSD-src-126fcbbfad419f17b82db7655c353c8344d86183.zip FreeBSD-src-126fcbbfad419f17b82db7655c353c8344d86183.tar.gz |
More style and deobfuscation fixes.
Submitted by: bde
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/rtsock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 449b4cb..9dc8202 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -327,11 +327,11 @@ route_output(struct mbuf *m, struct socket *so) struct radix_node *t; t = rn_addmask((caddr_t) info.rti_info[RTAX_GENMASK], 0, 1); if (t != NULL && - bcmp((caddr_t)info.rti_info[RTAX_GENMASK] + 1, - (caddr_t)t->rn_key + 1, - ((struct sockaddr *)(t->rn_key))->sa_len - 1) == 0) + bcmp((char *)(void *)info.rti_info[RTAX_GENMASK] + 1, + (char *)(void *)t->rn_key + 1, + ((struct sockaddr *)t->rn_key)->sa_len - 1) == 0) info.rti_info[RTAX_GENMASK] = - (struct sockaddr *)(t->rn_key); + (struct sockaddr *)t->rn_key; else senderr(ENOBUFS); } |