ofproto: Clear out entire 'name' field of ofp_phy_port when initializing.
authorBen Pfaff <blp@nicira.com>
Mon, 7 Feb 2011 20:46:25 +0000 (12:46 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 7 Feb 2011 20:46:25 +0000 (12:46 -0800)
commit0a6f55420508c31af9fe41aafdd26ce8462cc1be
treec08108624adcffa22fe7f827ca75429427858422
parentcd48275890cbd725e8790745ac8238f2719e1d7e
ofproto: Clear out entire 'name' field of ofp_phy_port when initializing.

Sometimes garbage could appear in the name field following the port name,
since it wasn't completely zeroed.

Reported-by: kk yap <yapkke@openvswitch.org>
Tested-by: kk yap <yapkke@openvswitch.org>
ofproto/ofproto.c