diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-06-24 22:20:20 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-06-24 22:20:37 -0500 |
commit | 51a3acee8f721ce290b23edc8275703ae23596c4 (patch) | |
tree | 175e7fbf262ca248c01e0b7039b5d35921d20d25 | |
parent | ad5fb4a06001fc545ff596bd258a2ea26c426f59 (diff) | |
download | pfsense-51a3acee8f721ce290b23edc8275703ae23596c4.zip pfsense-51a3acee8f721ce290b23edc8275703ae23596c4.tar.gz |
Fix style
-rwxr-xr-x | src/usr/local/www/diag_dump_states.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_dump_states.php b/src/usr/local/www/diag_dump_states.php index a1c68e3..2cf3c22 100755 --- a/src/usr/local/www/diag_dump_states.php +++ b/src/usr/local/www/diag_dump_states.php @@ -67,13 +67,14 @@ require_once("interfaces.inc"); function get_ip($addr) { $parts = explode(":", $addr); - if (count($parts) == 2) + if (count($parts) == 2) { return (trim($parts[0])); - else { + } else { /* IPv6 */ $parts = explode("[", $addr); - if (count($parts) == 2) + if (count($parts) == 2) { return (trim($parts[0])); + } } return (""); |