cfm: Send properly formatted CCMs.
authorBen Pfaff <blp@nicira.com>
Fri, 7 Oct 2011 22:43:43 +0000 (15:43 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Oct 2011 17:08:01 +0000 (10:08 -0700)
commitce27cbee00fa713c419d5fd5f7dece469f41c0a7
treee83cce9e1d9ff8f37cdc7bc2f2c043d168884477
parenta24a65747a4aaf4929e8aa51f678d3ee7d57a1e3
cfm: Send properly formatted CCMs.

Wireshark complained that Open vSwitch-generated CFM messages were
malformed.  Upon looking at the standard, I spotted that Open vSwitch
failed to include the final, required "End TLV" byte with value 0.

This commit adds the End TLV byte to generated CCMs but still accepts
the truncated messages for backward compatibility.
lib/cfm.c