diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-06-03 00:02:30 -0700 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-06-03 00:02:30 -0700 |
commit | 6e7c1adafe9b7a2518ce020b8a86c8f5276b6c7b (patch) | |
tree | 06c98d6ac6dba0fc9f78ee6f8eb932528f312685 /config/snort/snort_blocked.php | |
parent | dcccb98d5d9dfbf3f3e9a8a2272324dbc3e67ed8 (diff) | |
parent | f6f9238c81a70f4a9f093b0695153bd92baeac78 (diff) | |
download | pfsense-packages-6e7c1adafe9b7a2518ce020b8a86c8f5276b6c7b.tar.gz pfsense-packages-6e7c1adafe9b7a2518ce020b8a86c8f5276b6c7b.tar.bz2 pfsense-packages-6e7c1adafe9b7a2518ce020b8a86c8f5276b6c7b.zip |
Merge pull request #454 from bmeeks8/master
Snort Pkg 2.5.8 Update to incorporate Ermal's comments and fix a few bugs
Diffstat (limited to 'config/snort/snort_blocked.php')
-rw-r--r-- | config/snort/snort_blocked.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index 5fb7e608..43b351ab 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -249,10 +249,13 @@ if ($pconfig['brefresh'] == 'on') else $counter++; + /* Add zero-width space as soft-break opportunity after each colon if we have an IPv6 address */ + $tmp_ip = str_replace(":", ":​", $blocked_ip); + /* use one echo to do the magic*/ echo "<tr> <td align=\"center\" valign=\"middle\" class=\"listr\">{$counter}</td> - <td valign=\"middle\" class=\"listr\">{$blocked_ip}</td> + <td valign=\"middle\" class=\"listr\">{$tmp_ip}</td> <td valign=\"middle\" class=\"listr\">{$blocked_desc}</td> <td align=\"center\" valign=\"middle\" class=\"listr\"><a href='snort_blocked.php?todelete=" . trim(urlencode($blocked_ip)) . "'> <img title=\"" . gettext("Delete host from Blocked Table") . "\" border=\"0\" name='todelete' id='todelete' alt=\"Delete host from Blocked Table\" src=\"../themes/{$g['theme']}/images/icons/icon_x.gif\"></a></td> |