summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_static.h')
-rw-r--r--zebra/zebra_static.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/zebra_static.h b/zebra/zebra_static.h
index 6ab47094a1..ff9f0f59e7 100644
--- a/zebra/zebra_static.h
+++ b/zebra/zebra_static.h
@@ -22,11 +22,13 @@
#ifndef __ZEBRA_STATIC_H__
#define __ZEBRA_STATIC_H__
+#include "zebra/zebra_mpls.h"
+
/* Static route label information */
struct static_nh_label {
u_int8_t num_labels;
u_int8_t reserved[3];
- mpls_label_t label[2];
+ mpls_label_t label[MPLS_MAX_LABELS];
};
typedef enum {