Show More
@@ -647,7 +647,7 b' class DNSIncoming(object):' | |||||
647 | class DNSOutgoing(object): |
|
647 | class DNSOutgoing(object): | |
648 | """Object representation of an outgoing packet""" |
|
648 | """Object representation of an outgoing packet""" | |
649 |
|
649 | |||
650 |
def __init__(self, flags, multicast |
|
650 | def __init__(self, flags, multicast=1): | |
651 | self.finished = 0 |
|
651 | self.finished = 0 | |
652 | self.id = 0 |
|
652 | self.id = 0 | |
653 | self.multicast = multicast |
|
653 | self.multicast = multicast | |
@@ -1629,7 +1629,7 b' class Zeroconf(object):' | |||||
1629 | out.id = msg.id |
|
1629 | out.id = msg.id | |
1630 | self.send(out, addr, port) |
|
1630 | self.send(out, addr, port) | |
1631 |
|
1631 | |||
1632 |
def send(self, out, addr |
|
1632 | def send(self, out, addr=_MDNS_ADDR, port=_MDNS_PORT): | |
1633 | """Sends an outgoing packet.""" |
|
1633 | """Sends an outgoing packet.""" | |
1634 | # This is a quick test to see if we can parse the packets we generate |
|
1634 | # This is a quick test to see if we can parse the packets we generate | |
1635 | #temp = DNSIncoming(out.packet()) |
|
1635 | #temp = DNSIncoming(out.packet()) |
General Comments 0
You need to be logged in to leave comments.
Login now