aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_bier.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_bier.py')
-rw-r--r--test/vpp_bier.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/vpp_bier.py b/test/vpp_bier.py
index 7566b1f95ab..88dd79ce3b7 100644
--- a/test/vpp_bier.py
+++ b/test/vpp_bier.py
@@ -134,7 +134,8 @@ class VppBierRoute(VppObject):
lstack.append({})
br_paths.append({'next_hop': p.nh_addr,
'weight': 1,
- 'afi': 0,
+ 'afi': p.proto,
+ 'sw_if_index': 0xffffffff,
'preference': 0,
'table_id': p.nh_table_id,
'next_hop_id': p.next_hop_id,