summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2019-02-03 16:23:06 +0100
committerLou Berger <lberger@labn.net>2019-02-07 22:20:10 +0100
commit0c55dcbdf41e03b38090500609e699548c99b440 (patch)
tree5c6ef3ef33fa71ada2889c1d0116ad64b67a91e3 /tests
parentMerge pull request #3745 from chiragshah6/evpn_dev1 (diff)
downloadfrr-0c55dcbdf41e03b38090500609e699548c99b440.tar.xz
frr-0c55dcbdf41e03b38090500609e699548c99b440.zip
bgp_l3vpn_to_bgp_vrf: fix setting of TCP l3mdev
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py
index 31e23faed..877b535ca 100644
--- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py
+++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py
@@ -172,7 +172,7 @@ def ltemplatePreRouterStartHook():
'ip ru add oif {0}-cust1 table 10',
'ip ru add iif {0}-cust1 table 10',
'ip link set dev {0}-cust1 up',
- 'sysctl -w net.ipv4.udp_l3mdev_accept={}'.format(l3mdev_accept)]
+ 'sysctl -w net.ipv4.tcp_l3mdev_accept={}'.format(l3mdev_accept)]
for rtr in rtrs:
router = tgen.gears[rtr]
for cmd in cmds:
@@ -202,7 +202,7 @@ def ltemplatePreRouterStartHook():
'ip ru add oif {0}-cust2 table 20',
'ip ru add iif {0}-cust2 table 20',
'ip link set dev {0}-cust2 up',
- 'sysctl -w net.ipv4.udp_l3mdev_accept={}'.format(l3mdev_accept)]
+ 'sysctl -w net.ipv4.tcp_l3mdev_accept={}'.format(l3mdev_accept)]
for rtr in rtrs:
for cmd in cmds:
cc.doCmd(tgen, rtr, cmd.format(rtr))