TCP: fix "tcp src-address" command with IPv6 70/8470/2
authorYoann Desmouceaux <ydesmouc@cisco.com>
Wed, 20 Sep 2017 08:34:22 +0000 (10:34 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 20 Sep 2017 13:46:26 +0000 (13:46 +0000)
commit6b297aa1f5cf8de294dc839edbce5470318606c8
tree6f2cc53e5d172a7358f0c643f3abcfb84aaed41a
parent7fe51f3e3e80ed6ffe989df1c6963527166afc25
TCP: fix "tcp src-address" command with IPv6

When given a single IPv6 address, the "tcp src-address" command incorrectly
infers the end of the range by copying sizeof(ip4_address_t) bytes from the
given address.

Change-Id: I100d5c6674d3a3980b8c018588988bdd32ff7269
Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
src/vnet/tcp/tcp.c