goto end2;
}
- last_update = attr.st_mtim.tv_nsec;
+ last_update = attr.st_mtim.tv_sec;
if (check_update && last_update <= get_vrps_last_modified_date())
goto end2;
return send_cache_reset_pdu(&common);
case DIFF_AVAILABLE:
/* https://tools.ietf.org/html/rfc8210#section-8.2 */
- return send_commmon_exchange(&common);
+ /*
+ * TODO The diff calculation between serials isn't quite ready yet,
+ * so always respond with a cache reset. When the implementation is
+ * ready use:
+ *
+ * return send_commmon_exchange(&common);
+ */
+ return send_cache_reset_pdu(&common);
case NO_DIFF:
/* Typical exchange with no Payloads */
error = send_cache_response_pdu(&common);