The dns_handler() was storing a address of automatic variable
to the member variable, which resulted into random behaviour.
With ARMCC it started failing reliably, which made it easier to
spot the issue.
While here, fix one compiler warning and add one error log to
spot possible misconfiguration case.
The dns_handler() was storing a address of automatic variable to the member variable, which resulted into random behaviour. With ARMCC it started failing reliably, which made it easier to spot the issue.
While here, fix one compiler warning and add one error log to spot possible misconfiguration case.