Project

General

Profile

« Previous | Next » 

Revision 2d2e466c

Added by Ermal Luçi over 10 years ago

Show Mtu on status interfaces.

View differences:

etc/inc/pfsense-utils.inc
1233 1233
	if (empty($ifinfo['status']))
1234 1234
		$ifinfo['status'] = "down";
1235 1235
	$ifinfo['macaddr'] = $ifinfotmp['macaddr'];
1236
	$ifinfo['mtu'] = $ifinfotmp['mtu'];
1236 1237
	$ifinfo['ipaddr'] = $ifinfotmp['ipaddr'];
1237 1238
	$ifinfo['subnet'] = $ifinfotmp['subnet'];
1238 1239
	$ifinfo['linklocal'] = get_interface_linklocal($ifdescr);
usr/local/www/status_interfaces.php
321 321
		?>
322 322
		</td>
323 323
	</tr>
324
	<?php endif; endif; if ($ifinfo['media']): ?>
324
	<?php endif; endif; if ($ifinfo['mtu']): ?>
325
	<tr>
326
		<td width="22%" class="vncellt"><?=gettext("MTU");?></td>
327
		<td width="78%" class="listr">
328
			<?=htmlspecialchars($ifinfo['mtu']);?>
329
		</td>
330
	</tr>
331
	<?php endif; if ($ifinfo['media']): ?>
325 332
	<tr>
326 333
		<td width="22%" class="vncellt"><?=gettext("Media");?></td>
327 334
		<td width="78%" class="listr">

Also available in: Unified diff