Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-controller: Fix log conditions for unexpected openflow messages.
Currently in pinctrl.c and ofctrl.c there are similar logic to log ignored messages, which is somehow inaccurate and confusing. For example, OFPTYPE_PACKET_IN is handled only in pinctrl.c but in ofctrl.c it is listed as expected input and not logged as "ignored" messages, while it is in fact unexpected and ignored there. This patch clearup the unnecessary "if" conditions and logs all messages that are not expected/handled honestly, so that there will be logs for debugging if such abnormal case really happens. Signed-off-by: Han Zhou <zhouhan@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
- Loading branch information