Commit 98b1900a authored by Christos Stavrakakis's avatar Christos Stavrakakis

Fix bug in log msg

parent 764f829a
......@@ -684,7 +684,8 @@ class VMNetProxy(object): # pylint: disable=R0902
payload.set_verdict(nfqueue.NF_DROP)
if mac != binding.mac:
logging.warn("Recieved spoofed RS request for mac %s from tap %s", mac, tap)
logging.warn("Received spoofed RS request for mac %s from tap %s",
mac, binding.tap)
return
subnet = binding.net6
......@@ -746,7 +747,8 @@ class VMNetProxy(object): # pylint: disable=R0902
payload.set_verdict(nfqueue.NF_DROP)
if mac != binding.mac:
logging.warn("Recieved spoofed NS request for mac %s from tap %s", mac, tap)
logging.warn("Received spoofed NS request for mac %s from tap %s",
mac, binding.tap)
return
subnet = binding.net6
......
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