summaryrefslogtreecommitdiffstats
path: root/test/test_l2tp.py
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-10-28 10:22:01 +0100
committerOle Trøan <otroan@employees.org>2019-10-30 09:06:33 +0000
commit3ae52627125a4c97bff91d43adad9bbaed42a6f5 (patch)
tree24b49a4f2326ac8bb2634453945ab12aa4b06617 /test/test_l2tp.py
parent40680c6601b8d02b820540461f805a46a3e354a8 (diff)
l2: l2tp API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I9015fc60e8d77e5d5ac36bf2862c1fe794addb81 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'test/test_l2tp.py')
-rw-r--r--test/test_l2tp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_l2tp.py b/test/test_l2tp.py
index 1d229e6e356..6ce7de75d40 100644
--- a/test/test_l2tp.py
+++ b/test/test_l2tp.py
@@ -34,9 +34,8 @@ class TestL2tp(VppTestCase):
self.assertEqual(err, 0)
err_count = err
- self.vapi.l2tpv3_create_tunnel(client_address=self.pg0.local_ip6n,
- our_address=self.pg0.remote_ip6n,
- is_ipv6=1)
+ self.vapi.l2tpv3_create_tunnel(client_address=self.pg0.local_ip6,
+ our_address=self.pg0.remote_ip6)
self.pg0.add_stream(pkt)
self.pg_start()