summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 4ada064623..92ac017e80 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -484,7 +484,8 @@ struct zapi_route {
struct zapi_labels {
uint8_t message;
-#define ZAPI_LABELS_FTN 0x01
+#define ZAPI_LABELS_FTN 0x01
+#define ZAPI_LABELS_HAS_BACKUPS 0x02
enum lsp_types_t type;
mpls_label_t local_label;
struct {
@@ -495,6 +496,10 @@ struct zapi_labels {
uint16_t nexthop_num;
struct zapi_nexthop nexthops[MULTIPATH_NUM];
+
+ /* Backup nexthops, if present */
+ uint16_t backup_nexthop_num;
+ struct zapi_nexthop backup_nexthops[MULTIPATH_NUM];
};
struct zapi_pw {