Project

General

Profile

« Previous | Next » 

Revision 3f831035

Added by Jim Pingle over 13 years ago

If an IP is preceeded by "kip ", trim that off. Fixes #2027

View differences:

etc/inc/filter_log.inc
169 169

  
170 170
function parse_ipport($addr) {
171 171
	$addr = rtrim($addr, ":");
172
	if (substr($addr, 0, 4) == "kip ")
173
		$addr = substr($addr, 4);
172 174
	$port = '';
173 175
	if (substr_count($addr, '.') > 1) {
174 176
		/* IPv4 */

Also available in: Unified diff