mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user