summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2004-04-18 11:46:29 +0000
committerluigi <luigi@FreeBSD.org>2004-04-18 11:46:29 +0000
commitbc53551bd98fcfe22f77c44c69d007b06fb06906 (patch)
tree421061e47fca5ceed7ae61c7a9f354fa11b5af15 /sys/net/route.c
parenteb6b02962a3c750219da59181ee335f31cb71130 (diff)
downloadFreeBSD-src-bc53551bd98fcfe22f77c44c69d007b06fb06906.zip
FreeBSD-src-bc53551bd98fcfe22f77c44c69d007b06fb06906.tar.gz
replace Bcopy with bcopy as in the rest of the file.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 1ddef89..b8f000d 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;
}
OpenPOWER on IntegriCloud