LwIP example: new function addError