Fix parsing of '*' device and 'all' protocol value