[ovs-dev] [PATCH ovn] Don't use strcmp for MAC addresses

2020-05-08 Thread Mark Michelson
strcmp() for MAC addresses will detect that MAC addresses are different if they use different capitalization. This fixes the issue by converting MAC strings to struct eth_addr and comparing those instead. This specifically is done when MAC addresses are provided via user-input. For cases where the

Re: [ovs-dev] [PATCH ovn] Don't use strcmp for MAC addresses

2020-05-11 Thread Dumitru Ceara
On 5/8/20 8:51 PM, Mark Michelson wrote: > strcmp() for MAC addresses will detect that MAC addresses are different > if they use different capitalization. > > This fixes the issue by converting MAC strings to struct eth_addr and > comparing those instead. This specifically is done when MAC address

Re: [ovs-dev] [PATCH ovn] Don't use strcmp for MAC addresses

2020-05-11 Thread Mark Michelson
On 5/11/20 5:33 AM, Dumitru Ceara wrote: On 5/8/20 8:51 PM, Mark Michelson wrote: strcmp() for MAC addresses will detect that MAC addresses are different if they use different capitalization. This fixes the issue by converting MAC strings to struct eth_addr and comparing those instead. This spe