ofp-parse: Fix wildcard bits for dl_dst in flow parsing.
authorBen Pfaff <blp@nicira.com>
Mon, 6 Jun 2011 21:25:37 +0000 (14:25 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Jun 2011 23:47:41 +0000 (16:47 -0700)
This fixes a really minor corner case in flow parsing that doesn't make
much sense anyway.

lib/ofp-parse.c

index 52fdbf2f6e81f3a15bf72ed5184c5b918c6778a2..5e488a6e21e8cd7896b0036a0b32916db1252082 100644 (file)
@@ -537,7 +537,7 @@ parse_protocol(const char *name, const struct protocol **p_out)
     FIELD(F_DL_VLAN,     "dl_vlan",     0)                  \
     FIELD(F_DL_VLAN_PCP, "dl_vlan_pcp", 0)                  \
     FIELD(F_DL_SRC,      "dl_src",      FWW_DL_SRC)         \
-    FIELD(F_DL_DST,      "dl_dst",      FWW_DL_DST)         \
+    FIELD(F_DL_DST,      "dl_dst",      FWW_DL_DST | FWW_ETH_MCAST) \
     FIELD(F_DL_TYPE,     "dl_type",     FWW_DL_TYPE)        \
     FIELD(F_NW_SRC,      "nw_src",      0)                  \
     FIELD(F_NW_DST,      "nw_dst",      0)                  \