[ovs-dev] [tests 18/22] ofproto-dpif: Report more detailed reason for flooding a packet.

Ben Pfaff blp at nicira.com
Fri Oct 26 00:02:14 UTC 2012


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 ofproto/ofproto-dpif.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 63ce1c2..86a5361 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -6333,7 +6333,9 @@ xlate_normal(struct action_xlate_ctx *ctx)
     } else {
         struct ofbundle *bundle;
 
-        xlate_report(ctx, "no learned MAC for destination, flooding");
+        xlate_report(ctx, "no learned MAC for destination (or multicast or "
+                     "broadcast destination, or VLAN is learning disabled), "
+                     "flooding");
         HMAP_FOR_EACH (bundle, hmap_node, &ctx->ofproto->bundles) {
             if (bundle != in_bundle
                 && ofbundle_includes_vlan(bundle, vlan)
-- 
1.7.2.5




More information about the dev mailing list