mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
This commit is contained in:
+2
-2
@@ -107,7 +107,7 @@ void arp_arpin(FAR struct net_driver_s *dev)
|
||||
switch (arp->ah_opcode)
|
||||
{
|
||||
case HTONS(ARP_REQUEST):
|
||||
nllinfo("ARP request for IP %04lx\n", (long)ipaddr);
|
||||
ninfo("ARP request for IP %04lx\n", (long)ipaddr);
|
||||
|
||||
/* ARP request. If it asked for our address, we send out a reply. */
|
||||
|
||||
@@ -139,7 +139,7 @@ void arp_arpin(FAR struct net_driver_s *dev)
|
||||
break;
|
||||
|
||||
case HTONS(ARP_REPLY):
|
||||
nllinfo("ARP reply for IP %04lx\n", (long)ipaddr);
|
||||
ninfo("ARP reply for IP %04lx\n", (long)ipaddr);
|
||||
|
||||
/* ARP reply. We insert or update the ARP table if it was meant
|
||||
* for us.
|
||||
|
||||
+1
-1
@@ -231,7 +231,7 @@ void arp_out(FAR struct net_driver_s *dev)
|
||||
tabptr = arp_find(ipaddr);
|
||||
if (!tabptr)
|
||||
{
|
||||
nllinfo("ARP request for IP %08lx\n", (unsigned long)ipaddr);
|
||||
ninfo("ARP request for IP %08lx\n", (unsigned long)ipaddr);
|
||||
|
||||
/* The destination address was not in our ARP table, so we
|
||||
* overwrite the IP packet with an ARP request.
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ static uint16_t arp_send_interrupt(FAR struct net_driver_s *dev,
|
||||
{
|
||||
FAR struct arp_send_s *state = (FAR struct arp_send_s *)priv;
|
||||
|
||||
nllinfo("flags: %04x sent: %d\n", flags, state->snd_sent);
|
||||
ninfo("flags: %04x sent: %d\n", flags, state->snd_sent);
|
||||
|
||||
if (state)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user