diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2016-10-28 06:31:54 -0700 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2016-10-29 13:15:14 +0000 |
commit | 8c1bebe83f7e277a36b8f570ed88363a5f3639b3 (patch) | |
tree | ea4354126fd522761496af7d8fb035c362eaee2b /vnet/vnet/dpo/drop_dpo.c | |
parent | 435a64b530cef7d7a09624717f5235711acef459 (diff) |
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>
Diffstat (limited to 'vnet/vnet/dpo/drop_dpo.c')
-rw-r--r-- | vnet/vnet/dpo/drop_dpo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/dpo/drop_dpo.c b/vnet/vnet/dpo/drop_dpo.c index 26c3e8a06f2..5118d2a45b7 100644 --- a/vnet/vnet/dpo/drop_dpo.c +++ b/vnet/vnet/dpo/drop_dpo.c @@ -24,7 +24,7 @@ static dpo_id_t drop_dpos[DPO_PROTO_NUM]; const dpo_id_t * drop_dpo_get (dpo_proto_t proto) { - dpo_set(&drop_dpos[proto], DPO_DROP, proto, 1); + dpo_set(&drop_dpos[proto], DPO_DROP, proto, proto); return (&drop_dpos[proto]); } |