summaryrefslogtreecommitdiffstats
path: root/lib/zclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 2e450ed39..40ddbf62d 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -230,7 +230,10 @@ struct zapi_nexthop {
enum nexthop_types_t type;
ifindex_t ifindex;
union g_addr gate;
- mpls_label_t label;
+
+ /* MPLS labels for BGP-LU or Segment Routing */
+ uint8_t label_num;
+ mpls_label_t labels[MPLS_MAX_LABELS];
};
struct zapi_route {