Two further patrols were undertaken while based in Australia and on the second of them a short lived record was set for the longest patrol by an S-class boat, when the patrol lasted 37 days and covered 7151 miles .