Fixed ip parsing

Fixed parsing ip addresses to catch only one per log. (Lines 26 - 27)