summaryrefslogtreecommitdiff
path: root/lib/meta-flow.c
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2013-01-08 15:29:44 -0800
committerGurucharan Shetty <gshetty@nicira.com>2013-01-09 09:50:51 -0800
commitbedde04cf1adfe8bde736f7bbec95ea7e4f04d20 (patch)
tree3f863d87a72891cd1b5c19bc2fbdaffbab242571 /lib/meta-flow.c
parent576ec8039c2a5c559c95192c9fc28c7188d71f27 (diff)
downloadopenvswitch-bedde04cf1adfe8bde736f7bbec95ea7e4f04d20.tar.gz
ovs-ofctl: Remove 'ANY' as a wildcard.
Currently we use "*" or ANY to mark a field in flow syntax as a wildcard. With ANY being a valid openflow port now, there is a conflict for in_port field. So at the least, we need to remove ANY from being considered as a wildcard for in_port. But this may cause general confusion and it may be a better idea to remove 'ANY' as a wildcard for all fields. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'lib/meta-flow.c')
-rw-r--r--lib/meta-flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/meta-flow.c b/lib/meta-flow.c
index 0e74d5e61..e38e15875 100644
--- a/lib/meta-flow.c
+++ b/lib/meta-flow.c
@@ -2155,7 +2155,7 @@ char *
mf_parse(const struct mf_field *mf, const char *s,
union mf_value *value, union mf_value *mask)
{
- if (!strcasecmp(s, "any") || !strcmp(s, "*")) {
+ if (!strcmp(s, "*")) {
memset(value, 0, mf->n_bytes);
memset(mask, 0, mf->n_bytes);
return NULL;