summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-05-05 21:40:49 +0000
committerglebius <glebius@FreeBSD.org>2005-05-05 21:40:49 +0000
commitfa23219cf28bf399108802efb71595016490a475 (patch)
tree6d982ae70aef1b691dcd5e8367ccbfa2b549824d /sys/netinet/libalias
parentdfbc79ffbfea71b305d29f64ad84135c17721896 (diff)
downloadFreeBSD-src-fa23219cf28bf399108802efb71595016490a475.zip
FreeBSD-src-fa23219cf28bf399108802efb71595016490a475.tar.gz
Fix argument order for bcopy() in last commit.
Noticed by: njl Pointy hat to: glebius
Diffstat (limited to 'sys/netinet/libalias')
-rw-r--r--sys/netinet/libalias/alias_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias_proxy.c b/sys/netinet/libalias/alias_proxy.c
index b33715f..f131589 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);
}
OpenPOWER on IntegriCloud