diff options
author | des <des@FreeBSD.org> | 2003-04-04 12:12:34 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-04-04 12:12:34 +0000 |
commit | c011a79e99b36b0a6465a295cb0a3d3f928c9d90 (patch) | |
tree | 573fa7e60698b0a3a01e115968d8990d721becf2 | |
parent | 125c5f9ff86789f174f90389c2cee74026af66da (diff) | |
download | FreeBSD-src-c011a79e99b36b0a6465a295cb0a3d3f928c9d90.zip FreeBSD-src-c011a79e99b36b0a6465a295cb0a3d3f928c9d90.tar.gz |
Don't use ovbcopy().
-rw-r--r-- | sys/netgraph/ng_l2tp.c | 2 | ||||
-rw-r--r-- | sys/netgraph/ng_pptpgre.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_l2tp.c b/sys/netgraph/ng_l2tp.c index ebc6a41..df972a0 100644 --- a/sys/netgraph/ng_l2tp.c +++ b/sys/netgraph/ng_l2tp.c @@ -297,7 +297,7 @@ NETGRAPH_INIT(l2tp, &ng_l2tp_typestruct); #endif /* memmove macro */ -#define memmove(d, s, l) ovbcopy(s, d, l) +#define memmove(d, s, l) bcopy(s, d, l) /* Whether to use m_copypacket() or m_dup() */ #define L2TP_COPY_MBUF m_copypacket diff --git a/sys/netgraph/ng_pptpgre.c b/sys/netgraph/ng_pptpgre.c index 50811da..6966919 100644 --- a/sys/netgraph/ng_pptpgre.c +++ b/sys/netgraph/ng_pptpgre.c @@ -669,7 +669,7 @@ bad: a->ato = PPTP_MIN_TIMEOUT; /* Shift packet transmit times in our transmit window */ - ovbcopy(a->timeSent + index + 1, a->timeSent, + bcopy(a->timeSent + index + 1, a->timeSent, sizeof(*a->timeSent) * (PPTP_XMIT_WIN - (index + 1))); /* If we sent an entire window, increase window size by one */ |