[ovs-git] [ovn-org/ovn] 2104f6: lex: Allow unmasked bits in value/mask tokens.
noreply at github.com
Wed Jun 24 10:42:37 UTC 2020
Author: Dumitru Ceara <dceara at redhat.com>
Date: 2020-06-24 (Wed, 24 Jun 2020)
lex: Allow unmasked bits in value/mask tokens.
It's quite restrictive to not accept ACLs/policies that match on a CIDR
that has non-zero host bits. Right now this generates a lexer error that
can only be detected in the logs.
There's no real harm in automatically zero-ing the unmasked bits.
Reported-by: Ying Xu <yinxu at redhat.com>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
More information about the git