Revision 6c07db48
Added by Phil Davis about 10 years ago
usr/local/www/diag_dump_states.php | ||
---|---|---|
187 | 187 |
|
188 | 188 |
$line_split = preg_split("/\s+/", $line); |
189 | 189 |
|
190 |
$iface = array_shift($line_split);
|
|
190 |
$iface = array_shift($line_split); |
|
191 | 191 |
$proto = array_shift($line_split); |
192 | 192 |
$state = array_pop($line_split); |
193 |
$info = implode(" ", $line_split);
|
|
193 |
$info = implode(" ", $line_split); |
|
194 | 194 |
|
195 | 195 |
// We may want to make this optional, with a large state table, this could get to be expensive. |
196 | 196 |
$iface = convert_real_interface_to_friendly_descr($iface); |
Also available in: Unified diff
Code spacing
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.