Skip to content

Commit

Permalink
Fix Flow Drop reason string in introspect
Browse files Browse the repository at this point in the history
correcting the Drop reason string for flow drop action

Closes-Bug: 1500354
Change-Id: I082ffc280dbcc04b64c17671fa344b3bde0b9ca7
  • Loading branch information
Prabhjot Singh Sethi committed Sep 28, 2015
1 parent b74e612 commit 12a41d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/vnsw/agent/pkt/pkt_sandesh_flow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,17 @@ static const char * GetShortFlowReason(uint16_t reason) {
static const char * GetFlowDropReason(FlowEntry *fe) {
switch (fe->data().drop_reason) {
case FlowEntry::DROP_POLICY:
return "Interface unavialable";
return "Policy";
case FlowEntry::DROP_OUT_POLICY:
return "Ipv4 forwarding disabled";
return "Out Policy";
case FlowEntry::DROP_SG:
return "VRF unavailable";
return "SG";
case FlowEntry::DROP_OUT_SG:
return "No Source route";
return "Out SG";
case FlowEntry::DROP_REVERSE_SG:
return "No Destination route";
return "Reverse SG";
case FlowEntry::DROP_REVERSE_OUT_SG:
return "Audit Entry";
return "Reverse Out SG";
default:
break;
}
Expand Down

0 comments on commit 12a41d7

Please sign in to comment.