unbreak pkg->pkt bug

This commit is contained in:
Nico Schottelius 2019-08-04 15:52:41 +02:00
parent 299cf886fa
commit 859a90ef17
1 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ def test_nat64():
p4 = 500 * "A"
pkg4 = e4 / i4 / u4 / p4
applyPkg(pkg4, "nf2", pkgCnt)
applyPkt(pkg4, "nf2", pkgCnt)
e6 = e4
i6 = IPv6(src = "2001:db8:42::a00:2a", dst = "2001:db8:42::42")
@ -122,7 +122,7 @@ def test_nat64():
p6 = p4
pkg6 = e6 / i6 / u6 / p6
expPkg(pkg6, 'nf3')
expPkt(pkg6, 'nf3')
pkgCnt += 1
@ -139,8 +139,8 @@ def test_nat64():
p4 = p6
pkg4 = e4 / i4 / u4 / p4
applyPkg(pkg6, "nf3", pkgCnt)
expPkg(pkg4, 'nf2')
applyPkt(pkg6, "nf3", pkgCnt)
expPkt(pkg4, 'nf2')
test_nat64()