reverse dns on log entry viewing

This commit is contained in:
Matt Young 2024-10-31 16:24:20 -05:00
parent c2110b06b9
commit 28036a6924
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<tr class="divide-x divide-gray-200"> <tr class="divide-x divide-gray-200">
<td class="whitespace-nowrap py-4 pl-4 pr-4 text-sm font-medium text-gray-900 sm:pl-0">{{ $entry->created_at }}</td> <td class="whitespace-nowrap py-4 pl-4 pr-4 text-sm font-medium text-gray-900 sm:pl-0">{{ $entry->created_at }}</td>
<td class="whitespace-nowrap p-4 text-sm text-gray-500">{{ $entry->user }}</td> <td class="whitespace-nowrap p-4 text-sm text-gray-500">{{ $entry->user }}</td>
<td class="whitespace-nowrap p-4 text-sm text-gray-500">{{ $entry->ip_address }}</td> <td class="whitespace-nowrap p-4 text-sm text-gray-500">{{ gethostbyaddr($entry->ip_address) }}<br>{{ $entry->ip_address }}</td>
<td class="whitespace-nowrap py-4 pl-4 pr-4 text-sm text-gray-500 sm:pr-0">{!! $message !!}</td> <td class="whitespace-nowrap py-4 pl-4 pr-4 text-sm text-gray-500 sm:pr-0">{!! $message !!}</td>
</tr> </tr>
@endforeach @endforeach