diff options
-rwxr-xr-x | localshowuserfromip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localshowuserfromip b/localshowuserfromip index 48398e2..f64d673 100755 --- a/localshowuserfromip +++ b/localshowuserfromip @@ -3,7 +3,7 @@ # /usr/local/sbin/localshowuserfromip # Copyright 2007 Jonas Smedegaard <dr@jones.dk> # -# $Id: localshowuserfromip,v 1.1 2007-11-14 13:23:55 jonas Exp $ +# $Id: localshowuserfromip,v 1.2 2007-11-14 13:26:38 jonas Exp $ # # List recent identifiable users from some IP address # @@ -21,7 +21,7 @@ case $pattern in # Dovecot "deliver" egrep_before=', rip=(' egrep_after='), lip=' - sed_shortline='s/^\(.\{15\}\) [^:]*: [^-]*-login: Login: user=</\1/;s/>, method=[^,]*, rip=/ /;s/, lip=.*$//' + sed_shortline='s/^\(.\{15\}\) [^:]*: [^-]*-login: Login: user=</\1 /;s/>, method=[^,]*, rip=/ /;s/, lip=.*$//' sed_username='s/^.* user=<//;s/>, .*$//' ;; *) |