X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fvpp_ip_route.py;h=b3d12938d9984c7a34b6ce7159e2e4d99c667b32;hb=3b3464eef5914d33e0925d6c2122c08b18c904f7;hp=d024f10c5e75edbe14fe79766a51c9f2ffe64571;hpb=7425f9289bdc17d330044b0df0fc31cdeeca626b;p=vpp.git diff --git a/test/vpp_ip_route.py b/test/vpp_ip_route.py index d024f10c5e7..b3d12938d99 100644 --- a/test/vpp_ip_route.py +++ b/test/vpp_ip_route.py @@ -279,13 +279,13 @@ class VppRoutePath(object): is_dvr=0, next_hop_id=0xffffffff, proto=DpoProto.DPO_PROTO_IP4): + self.proto = proto self.nh_itf = nh_sw_if_index self.nh_table_id = nh_table_id self.nh_via_label = nh_via_label self.nh_labels = labels self.weight = 1 self.rpf_id = rpf_id - self.proto = proto if self.proto is DpoProto.DPO_PROTO_IP6: self.nh_addr = inet_pton(AF_INET6, nh_addr) elif self.proto is DpoProto.DPO_PROTO_IP4: