X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-print.c;h=89656cc0c63010f2433595b64fac3be2e0544b04;hb=b2fda3effc787f265b5ad5dfa967ac00627bd075;hp=cbac1e44ac8e67b80941db2e2f00e9bd9805dd61;hpb=2e281761473ed67ecae00205f62180e9a21c9ade;p=sliver-openvswitch.git diff --git a/lib/ofp-print.c b/lib/ofp-print.c index cbac1e44a..89656cc0c 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -123,7 +123,7 @@ ofp_print_packet_in(struct ds *string, const struct ofp_packet_in *op, data_len = len - offsetof(struct ofp_packet_in, data); ds_put_format(string, " data_len=%zu", data_len); - if (htonl(op->buffer_id) == UINT32_MAX) { + if (op->buffer_id == htonl(UINT32_MAX)) { ds_put_format(string, " (unbuffered)"); if (ntohs(op->total_len) != data_len) ds_put_format(string, " (***total_len != data_len***)");