ofproto: Use NULL "desc" values to indicate defaults.
authorBen Pfaff <blp@nicira.com>
Wed, 26 Dec 2012 22:56:01 +0000 (14:56 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 26 Dec 2012 23:03:21 +0000 (15:03 -0800)
commit061bfea46df4048440a219472719e5def71f4090
tree8d258a2c2cda415fd708a6094db5258bd2b3b879
parentfdfdbd4e1e83d7220cda3150caac424242229aab
ofproto: Use NULL "desc" values to indicate defaults.

This saves a small amount of memory.  It should also save a small amount of
time for reconfiguration starting with an upcoming commit where it becomes
possible to change the dp_desc away from the default (because it will not
be necessary to compare the current value against the default).

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h