odp-util: Use proper formatting for ODP port number.
[cascardo/ovs.git] / lib / odp-util.c
index c4f2be8..7df5f22 100644 (file)
@@ -317,7 +317,7 @@ format_odp_action(struct ds *ds, const struct nlattr *a)
 
     switch (type) {
     case OVS_ACTION_ATTR_OUTPUT:
-        ds_put_format(ds, "%"PRIu16, nl_attr_get_u32(a));
+        ds_put_format(ds, "%"PRIu32, nl_attr_get_u32(a));
         break;
     case OVS_ACTION_ATTR_USERSPACE:
         format_odp_userspace_action(ds, a);