summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/mpls_fib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/fib/mpls_fib.h')
-rw-r--r--src/vnet/fib/mpls_fib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/fib/mpls_fib.h b/src/vnet/fib/mpls_fib.h
index 8d18b008b0e..33eaa88ca9d 100644
--- a/src/vnet/fib/mpls_fib.h
+++ b/src/vnet/fib/mpls_fib.h
@@ -34,9 +34,10 @@
#define MPLS_FIB_DB_SIZE (1 << (MPLS_FIB_KEY_SIZE-1))
/**
- * There are no options for controlling the MPLS flow hash
+ * There are no options for controlling the MPLS flow hash,
+ * but since it mostly entails using IP data to create one, use that.
*/
-#define MPLS_FLOW_HASH_DEFAULT 0
+#define MPLS_FLOW_HASH_DEFAULT IP_FLOW_HASH_DEFAULT
typedef struct mpls_fib_t_
{