IPv6 Classify Forwarding Graph errors
Fix a few places where the protocol of the DPO object was incorrectly set and hence the graph traversed by the packet jumped between ip4 and ip6 nodes.
Change-Id: I75c4ecfdf79df39f5dbb7c68f1fc82ff04aaed28
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
diff --git a/vnet/vnet/dpo/classify_dpo.h b/vnet/vnet/dpo/classify_dpo.h
index cd35c3c..48f4b2b 100644
--- a/vnet/vnet/dpo/classify_dpo.h
+++ b/vnet/vnet/dpo/classify_dpo.h
@@ -25,7 +25,7 @@
*/
typedef struct classify_dpo_t
{
- fib_protocol_t cd_proto;
+ dpo_proto_t cd_proto;
u32 cd_table_index;
@@ -35,7 +35,7 @@
u16 cd_locks;
} classify_dpo_t;
-extern index_t classify_dpo_create(fib_protocol_t proto,
+extern index_t classify_dpo_create(dpo_proto_t proto,
u32 classify_table_index);
extern u8* format_classify_dpo(u8 *s, va_list *args);