diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2004-04-18 11:46:29 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2004-04-18 11:46:29 +0000 |
| commit | 1838a6471f481b91cc516293ebf3538dd9d88e70 (patch) | |
| tree | 421061e47fca5ceed7ae61c7a9f354fa11b5af15 /sys | |
| parent | ac912b2dc8720f6c3f73854a050c69fbfe94d35a (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/net/route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 1ddef89d67efb..b8f000d61e6c1 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -755,7 +755,7 @@ rtrequest1(int req, struct rt_addrinfo *info, struct rtentry **ret_nrt) if (netmask) { rt_maskedcopy(dst, ndst, netmask); } else - Bcopy(dst, ndst, dst->sa_len); + bcopy(dst, ndst, dst->sa_len); /* * Note that we now have a reference to the ifa. @@ -1052,14 +1052,14 @@ rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate) /* * copy the new gateway value into the memory chunk */ - Bcopy(gate, (rt->rt_gateway = (struct sockaddr *)(new + dlen)), glen); + bcopy(gate, (rt->rt_gateway = (struct sockaddr *)(new + dlen)), glen); /* * if we are replacing the chunk (or it's new) we need to * replace the dst as well */ if (old) { - Bcopy(dst, new, dlen); + bcopy(dst, new, dlen); Free(old); old = 0; } |
