These actions looked up the MAC binding but failed to update eth.dst with the result.
Signed-off-by: Ben Pfaff <b...@ovn.org> --- ovn/utilities/ovn-trace.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ovn/utilities/ovn-trace.c b/ovn/utilities/ovn-trace.c index 94321cf..261013b 100644 --- a/ovn/utilities/ovn-trace.c +++ b/ovn/utilities/ovn-trace.c @@ -1175,17 +1175,18 @@ execute_get_mac_bind(const struct ovnact_get_mac_bind *bind, const struct ovntrace_mac_binding *binding = ovntrace_mac_binding_find(dp, port_key, &ip); - const struct eth_addr mac = binding ? binding->mac : eth_addr_zero; + uflow->dl_dst = binding ? binding->mac : eth_addr_zero; if (binding) { ovntrace_node_append(super, OVNTRACE_NODE_ACTION, "/* MAC binding to "ETH_ADDR_FMT". */", - ETH_ADDR_ARGS(mac)); + ETH_ADDR_ARGS(uflow->dl_dst)); } else { ovntrace_node_append(super, OVNTRACE_NODE_ACTION, "/* No MAC binding. */"); } ovntrace_node_append(super, OVNTRACE_NODE_MODIFY, - "eth.dst = "ETH_ADDR_FMT, ETH_ADDR_ARGS(mac)); + "eth.dst = "ETH_ADDR_FMT, + ETH_ADDR_ARGS(uflow->dl_dst)); } static void -- 2.1.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev