summaryrefslogtreecommitdiffstats
path: root/test/test_nat44_ed.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_nat44_ed.py')
-rw-r--r--test/test_nat44_ed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_nat44_ed.py b/test/test_nat44_ed.py
index b11e3c03cde..258bee3a1f6 100644
--- a/test/test_nat44_ed.py
+++ b/test/test_nat44_ed.py
@@ -3681,7 +3681,7 @@ class TestNAT44EDMW(TestNAT44ED):
capture = self.pg8.get_capture(len(pkts))
self.verify_capture_out(capture, ignore_port=True)
- if_idx = self.pg7.sw_if_index
+ if_idx = self.pg8.sw_if_index
cnt = self.statistics['/nat44-ed/in2out/slowpath/tcp']
self.assertEqual(cnt[:, if_idx].sum() - tcpn[:, if_idx].sum(), 2)
cnt = self.statistics['/nat44-ed/in2out/slowpath/udp']