diff options
-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 */ |