diff options
author | glebius <glebius@FreeBSD.org> | 2005-05-05 21:40:49 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-05-05 21:40:49 +0000 |
commit | fa23219cf28bf399108802efb71595016490a475 (patch) | |
tree | 6d982ae70aef1b691dcd5e8367ccbfa2b549824d | |
parent | dfbc79ffbfea71b305d29f64ad84135c17721896 (diff) | |
download | FreeBSD-src-fa23219cf28bf399108802efb71595016490a475.zip FreeBSD-src-fa23219cf28bf399108802efb71595016490a475.tar.gz |
Fix argument order for bcopy() in last commit.
Noticed by: njl
Pointy hat to: glebius
-rw-r--r-- | sys/netinet/libalias/alias_proxy.c | 2 |
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); } |