Don't use ovbcopy().
This commit is contained in:
parent
7283c97574
commit
f7854568f5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113073
@ -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
|
||||
|
@ -669,7 +669,7 @@ ng_pptpgre_recv(node_p node, item_p item)
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user