aboutsummaryrefslogtreecommitdiffstats
path: root/netlink/librtnl/mapper.c
diff options
context:
space:
mode:
authorChad Wang <imflinter@gmail.com>2018-03-15 09:21:03 -0400
committerChad Wang <imflinter@gmail.com>2018-03-15 09:23:21 -0400
commitce5ab87645e7472b99e23686047e4141a7a315b0 (patch)
tree350330eb1a09111ee94bdf05f7719cda1184026e /netlink/librtnl/mapper.c
parent042a782c530ceb58507d697726e68ad7fe4fe023 (diff)
Fixed two places in mapper.c to compile with the latest vpp.
Deleted the old code that was commented out. Change-Id: Iff2637d9574662c7467931065857b9fcefc66124 Signed-off-by: Chad Wang <imflinter@gmail.com>
Diffstat (limited to 'netlink/librtnl/mapper.c')
-rw-r--r--netlink/librtnl/mapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlink/librtnl/mapper.c b/netlink/librtnl/mapper.c
index 65cc13a..05b7f1d 100644
--- a/netlink/librtnl/mapper.c
+++ b/netlink/librtnl/mapper.c
@@ -97,7 +97,7 @@ int mapper_add_del_route(mapper_ns_t *ns, ns_route_t *route, int del)
FIB_ENTRY_FLAG_NONE, prefix.fp_proto,
&nh, map->sw_if_index, ns->v6fib_index,
0 /* weight */,
- (mpls_label_t *) MPLS_LABEL_INVALID,
+ (fib_mpls_label_t *) MPLS_LABEL_INVALID,
FIB_ROUTE_PATH_FLAG_NONE);
#endif /* FIB_VERSION == 1 */
} else {
@@ -128,7 +128,7 @@ int mapper_add_del_route(mapper_ns_t *ns, ns_route_t *route, int del)
FIB_ENTRY_FLAG_NONE, prefix.fp_proto,
&nh, map->sw_if_index, ns->v4fib_index,
0 /* weight */,
- (mpls_label_t *) MPLS_LABEL_INVALID,
+ (fib_mpls_label_t *) MPLS_LABEL_INVALID,
FIB_ROUTE_PATH_FLAG_NONE);
#endif /* FIB_VERSION == 1 */
}