[ovs-dev] [PATCH 2/2] ofp-print: Print Nicira error extension messages.

Justin Pettit jpettit at nicira.com
Thu Dec 9 00:43:42 UTC 2010


On Dec 8, 2010, at 4:05 PM, Ben Pfaff wrote:

> On Wed, Dec 08, 2010 at 03:49:18PM -0800, Justin Pettit wrote:
>> Currently, Nicira error messages are non-overlapping with the OpenFlow
>> error definitions.  This commit takes advantage of that by not taking
>> into account the vendor id.  Printing error messages is likely to be
>> overhauled before long, and a more general approach can be taken then.
> 
> Does anything verify that the error message is long enough?

Good point; I forgot to check there's enough room for the additional header.  Fixed.

> In the ds_put_hex_dump() call, I would prefer writing "nve + 1" over
> "++nve" since nothing actually ever uses the incremented value.


Done and pushed.

--Justin







More information about the dev mailing list