Project

General

Profile

« Previous | Next » 

Revision 0ffbf1e7

Added by Renato Botelho almost 6 years ago

Fix PHP warning

(cherry picked from commit b94eb4b90540dfb294376d6578aa9e9cbec63be9)

View differences:

src/usr/local/www/diag_dump_states.php
226 226
		$states = count($res);
227 227
	}
228 228

  
229
	for ($i = 0; $i < $states; $i++) {
229
	for ($i = 0; $i < $states; $i++):
230 230
		$info = $res[$i]['src'];
231 231
		$srcip = get_ip($res[$i]['src']);
232 232
		$dstip = get_ip($res[$i]['dst']);
......
258 258
								title="<?=sprintf(gettext('Remove all state entries from %1$s to %2$s'), $srcip, $killdstip);?>"></a>
259 259
						</td>
260 260
					</tr>
261
<?
262
	}
261
<?php
262
	endfor;
263 263
?>
264 264
				</tbody>
265 265
			</table>

Also available in: Unified diff