This function was only pretty-printing "bad request" error payloads. I
don't know why. It makes sense to pretty-print all of them except for
"hello" messages, which already have their own special cases.
Suggestion #7369.
Suggested-by: Reid Price <reid@nicira.com>
ds_put_printable(string, payload, payload_len);
break;
- case OFPET_BAD_REQUEST:
+ default:
s = ofp_to_string(payload, payload_len, 1);
ds_put_cstr(string, s);
free(s);
break;
-
- default:
- ds_put_hex_dump(string, payload, payload_len, 0, true);
- break;
}
}