Commit 0cca7143 authored by Christos Stavrakakis's avatar Christos Stavrakakis

Fix two more logs

parent 98b1900a
...@@ -543,7 +543,7 @@ class VMNetProxy(object): # pylint: disable=R0902 ...@@ -543,7 +543,7 @@ class VMNetProxy(object): # pylint: disable=R0902
""" """
# Decode the response - NFQUEUE relays IP packets # Decode the response - NFQUEUE relays IP packets
pkt = IP(payload.get_data()) pkt = IP(payload.get_data())
logging.debug("IN DHCP RESPONCE") logging.debug("Generating DHCP response")
#logging.debug(pkt.show()) #logging.debug(pkt.show())
# Get the client MAC address # Get the client MAC address
...@@ -767,7 +767,7 @@ class VMNetProxy(object): # pylint: disable=R0902 ...@@ -767,7 +767,7 @@ class VMNetProxy(object): # pylint: disable=R0902
payload.set_verdict(nfqueue.NF_ACCEPT) payload.set_verdict(nfqueue.NF_ACCEPT)
return 1 return 1
logging.debug("na ether %s %s", binding.mac, ns.src) logging.debug("Sending NA response to client %s", binding.mac)
resp = Ether(src=indevmac, dst=binding.mac)/\ resp = Ether(src=indevmac, dst=binding.mac)/\
IPv6(src=str(ifll), dst=ns.src)/\ IPv6(src=str(ifll), dst=ns.src)/\
ICMPv6ND_NA(R=1, O=0, S=1, tgt=ns.tgt)/\ ICMPv6ND_NA(R=1, O=0, S=1, tgt=ns.tgt)/\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment