learning-switch: Reserved addresses are destinations, not sources.
[sliver-openvswitch.git] / lib / learning-switch.c
index 7eb9e1c..413a70f 100644 (file)
@@ -410,7 +410,8 @@ process_packet_in(struct lswitch *sw, struct rconn *rconn, void *opi_)
         }
     }
 
-    if (eth_addr_is_reserved(flow.dl_src)) {
+    /* Drop frames for reserved multicast addresses. */
+    if (eth_addr_is_reserved(flow.dl_dst)) {
         goto drop_it;
     }