Fix dhcp address serving in AP mode; small fix in printer API.