net/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.

This commit is contained in:
Gregory Nutt
2016-06-11 17:37:21 -06:00
parent ad2f7b0119
commit f4fcdcdb4d
28 changed files with 91 additions and 88 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ void icmp_input(FAR struct net_driver_s *dev)
else
{
nllerr("Unknown ICMP cmd: %d\n", picmp->type);
nllerr("ERROR: Unknown ICMP cmd: %d\n", picmp->type);
goto typeerr;
}
+3 -3
View File
@@ -262,12 +262,12 @@ static uint16_t ping_interrupt(FAR struct net_driver_s *dev, FAR void *conn,
* that the destination address is not reachable.
*/
nllerr("Not reachable\n");
nllerr("ERROR:Not reachable\n");
failcode = -ENETUNREACH;
}
else
{
nllerr("Ping timeout\n");
nllerr("ERROR:Ping timeout\n");
failcode = -ETIMEDOUT;
}
@@ -416,7 +416,7 @@ int icmp_ping(in_addr_t addr, uint16_t id, uint16_t seqno, uint16_t datalen,
}
else
{
nllerr("Return error=%d\n", -state.png_result);
nllerr("ERROR: Return error=%d\n", -state.png_result);
return state.png_result;
}
}