Ejemplo n.º 1
0
 def TrafficShaper(self, **kwargs):
     return trafficshaper.TrafficShaper(host=self.host,
                                        ports=(self.dns_port, ),
                                        **kwargs)
Ejemplo n.º 2
0
 def TrafficShaper(self, **kwargs):
   return trafficshaper.TrafficShaper(
       host=self.host, port=self.port, dns_port=None, **kwargs)