Revision fac9f928

b/nfdhcpd
240 240
        self.open_socket()
241 241

  
242 242
    def is_valid(self):
243
        return self.mac is not None and self.ip is not None\
244
               and self.hostname is not None
243
        return self.mac is not None and self.hostname is not None
245 244

  
246 245

  
247 246
    def open_socket(self):
......
606 605
                         mac, indev)
607 606
            return
608 607

  
608
        if not binding.ip:
609
            logging.info(" - No IP found in binding file.")
610
            return
611

  
609 612
        logging.info(" - Generating DHCP response:"
610 613
                     " host %s, mac %s, tap %s, indev %s",
611 614
                       binding.hostname, mac, binding.tap, indev)

Also available in: Unified diff