diff --git a/sys/netinet/libalias/alias_proxy.c b/sys/netinet/libalias/alias_proxy.c index b33715fb3d96..f131589334d3 100644 --- a/sys/netinet/libalias/alias_proxy.c +++ b/sys/netinet/libalias/alias_proxy.c @@ -337,7 +337,7 @@ ProxyEncodeTcpStream(struct alias_link *lnk, p = (char *)pip; p += hlen; - bcopy(p + slen, p, dlen); + bcopy(p, p + slen, dlen); memcpy(p, buffer, slen); }