def buildProtocol(self, addr):
        if addr.host not in self.only_ip and "0.0.0.0" not in self.only_ip:
            return
        return Site.buildProtocol(self, addr)
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/api/restapi.py/RestAPI.buildProtocol/original