@staticmethod
    def _get_inet_family(addr):
        if addr == '127.0.0.1':
            return socket.AF_INET
        else:
            return socket.AF_INET6
The :func:`burpui.misc.backend.burp1.Burp._get_inet_family` function
dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp1.py/Burp._get_inet_family