Don't use ovbcopy().
This commit is contained in:
parent
d7bbcf60e5
commit
b1fb7ad533
@ -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