aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/ip/ip6_forward.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-29 13:06:36 +0200
committerGerrit Code Review <gerrit@fd.io>2016-03-29 12:50:53 +0000
commitf1bd8bec8776755dfb98f1a93be0f9ee884aa7da (patch)
tree644d2e9673c3f9b421ef391a6a5edccf52af5fd1 /vnet/vnet/ip/ip6_forward.c
parentb2ef4dde97b51b73a596093f06cbbdb84f23a824 (diff)
Move classify_table_index under the union
Fields needed only by specific adj type should be shared. Change-Id: I59ee15a29d2f5f527f46910a1a63866b291734c7 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/ip/ip6_forward.c')
-rw-r--r--vnet/vnet/ip/ip6_forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/ip/ip6_forward.c b/vnet/vnet/ip/ip6_forward.c
index a478bab5fc4..3e8261a05a5 100644
--- a/vnet/vnet/ip/ip6_forward.c
+++ b/vnet/vnet/ip/ip6_forward.c
@@ -930,7 +930,7 @@ ip6_add_interface_routes (vnet_main_t * vnm, u32 sw_if_index,
if (classify_table_index != (u32) ~0)
{
adj->lookup_next_index = IP_LOOKUP_NEXT_CLASSIFY;
- adj->classify_table_index = classify_table_index;
+ adj->classify.table_index = classify_table_index;
}
else
adj->lookup_next_index = IP_LOOKUP_NEXT_LOCAL;