summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/tcp/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c
index f457ef7e536..d43fb149855 100644
--- a/src/vnet/tcp/tcp.c
+++ b/src/vnet/tcp/tcp.c
@@ -1657,7 +1657,7 @@ tcp_src_address (vlib_main_t * vm,
v6set = 1;
else if (unformat (input, "%U", unformat_ip6_address, &v6start))
{
- memcpy (&v6end, &v6start, sizeof (v4start));
+ memcpy (&v6end, &v6start, sizeof (v6start));
v6set = 1;
}
else if (unformat (input, "fib-table %d", &table_id))