npt66: checksum applied to src address instead of dst address on rx 70/39470/2
authorOle Troan <otroan@employees.org>
Fri, 1 Sep 2023 12:15:39 +0000 (14:15 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 4 Sep 2023 15:14:46 +0000 (15:14 +0000)
commit34850e01876005422ba9523df5ae0400964e1c91
treeb0d538e9dd54d6fa183e9e8fedb587edd41bae79
parent77812045e720d1434dd36a1db90c35daad0c8e00
npt66: checksum applied to src address instead of dst address on rx

Applied the checksum delta to the source address instead of the destination address
in the RX direction.

Cleaned up tests a little.

Type: fix
Change-Id: I871f3448365587e5319dfbca6ea356935321ff9b
Signed-off-by: Ole Troan <otroan@employees.org>
src/plugins/npt66/npt66_node.c
test/test_npt66.py