HenriWahl / dhcpy6d

MAC address aware DHCPv6 server written in Python
https://dhcpy6d.de
GNU General Public License v2.0
94 stars 27 forks source link

Only Listify address if address is not already a list #7

Closed jdieter closed 8 years ago

jdieter commented 8 years ago

For some reason, address is already a list when we get here (possibly because I'm using a MySQL database?). I'm not sure why it's happening, but just setting addresses to the list if address is a list fixes the problem. This has been tested when more than one address has been specified, and the addresses are properly split up.