fix a typo

The `type_` can not be socket.AF_UNIX. May it be `family`?