Commit 0e9bc27f authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

Merge branch 'develop'

parents 98b15f59 fac9f928
......@@ -240,8 +240,7 @@ class Client(object):
self.open_socket()
def is_valid(self):
return self.mac is not None and self.ip is not None\
and self.hostname is not None
return self.mac is not None and self.hostname is not None
def open_socket(self):
......@@ -606,6 +605,10 @@ class VMNetProxy(object): # pylint: disable=R0902
mac, indev)
return
if not binding.ip:
logging.info(" - No IP found in binding file.")
return
logging.info(" - Generating DHCP response:"
" host %s, mac %s, tap %s, indev %s",
binding.hostname, mac, binding.tap, indev)
......
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