Fixed typo in sql query.
Added printing of more DHCP options.
Removed debug print.