fix trailing whitespace, invalid backslash escapes, use of double quotes in debian_ip mod