Government committed to dealing with farm attacks