diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-11-22 07:31:32 -0600 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-11-22 07:31:32 -0600 |
commit | 39a7f09100b6acab7282edf5b4c7920e00ac13de (patch) | |
tree | 057d6b448414b339dd4cfad5a2ecef801cfe686b /src | |
parent | fe4b554825649c7366e166bd48bf76f20278a54c (diff) | |
download | pfsense-39a7f09100b6acab7282edf5b4c7920e00ac13de.zip pfsense-39a7f09100b6acab7282edf5b4c7920e00ac13de.tar.gz |
Fix the interfaces widget to show the IP address of v6 only interfaces.
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/widgets/widgets/interfaces.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/interfaces.widget.php b/src/usr/local/www/widgets/widgets/interfaces.widget.php index eee7cdd..266829a 100644 --- a/src/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/src/usr/local/www/widgets/widgets/interfaces.widget.php @@ -110,7 +110,7 @@ foreach ($ifdescrs as $ifdescr => $ifname): </td> <td<?=($ifinfo['dhcplink'] ? ' title="via dhcp"':'')?>> - <?php if (empty($ifinfo['ipaddr'])): ?> + <?php if (empty($ifinfo['ipaddr']) && empty($ifinfo['ipaddrv6'])): ?> n/a <?php else: ?> <?=htmlspecialchars($ifinfo['ipaddr'])?><br /> |