X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-util.c;h=e500bf55d38d8baa2b95b9bbfdb588963e605a38;hb=2c360fbb2777fba6d35599e4b53287e2ecb26fa9;hp=4ee09ebe4048fbefb09d12be1e3dfa81ac01e1c6;hpb=9cfcdadf934213982a0fb96a29d100e8ba0187f7;p=sliver-openvswitch.git diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 4ee09ebe4..e500bf55d 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -2115,10 +2115,9 @@ validate_actions(const union ofp_action *actions, size_t n_actions, return 0; } -/* Returns true if 'action' outputs to 'port' (which must be in network byte - * order), false otherwise. */ +/* Returns true if 'action' outputs to 'port', false otherwise. */ bool -action_outputs_to_port(const union ofp_action *action, uint16_t port) +action_outputs_to_port(const union ofp_action *action, ovs_be16 port) { switch (ntohs(action->type)) { case OFPAT_OUTPUT: