[ovs-dev] [ICMP v2 7/7] ovn-northd: Support pinging logical router ports.

Russell Bryant rbryant at redhat.com
Fri Nov 6 14:31:28 UTC 2015


On 11/06/2015 02:52 AM, Justin Pettit wrote:
> 
>> On Nov 5, 2015, Russell Bryan <rbryant at redhat.com> wrote:
> 
>>
>>>  + "inport == %s && (ip4.dst == "IP_FMT" || ip4.dst == "IP_FMT") && " 
>>
>> You've got a duplicate condition here, checking ip4.dst == IP_FMT twice. 
> 
> Yes, but I set them to two different values--the router IP and local broadcast address:
> 
>>>  + "icmp4.type == 8 && icmp4.code == 0", 
>>>  + op->json_key, IP_ARGS(op->ip), IP_ARGS(op->bcast)); 
> 
> Do you see a problem?

The only problem I see now is that I read this wrong and gave a bad
review.  :-)

I'll read the patch again.

-- 
Russell Bryant



More information about the dev mailing list