Re: arp error message
- In reply to: Takashi Inoue : "Re: arp error message"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Feb 2022 21:38:25 UTC
Yeah we can figure that out! -a On Wed, 2 Feb 2022 at 13:31, Takashi Inoue <inoue.takashi@nihon-u.ac.jp> wrote: > > Hi Chadd and All, > > Thanks. I was asleep. > > BTW, I wish that a treatment of the endless repeated message > in any way is implemented in release. > Dose someone can do this? > > Best, > T.Inoue > > > > On 2/3/22 04:59, Adrian Chadd wrote: > > Just comment out the AR_LOG line. Use '//', not '#'. > > > > > > -a > > > > On Wed, 2 Feb 2022 at 11:17, Takashi Inoue <inoue.takashi@nihon-u.ac.jp> wrote: > >> > >> Hi all, > >> > >> I want to ask a favor to you. > >> It may not concern wireless network directly. I'm sorry for this. > >> I am using 13-STABLE ISO at 13th Jan. > >> > >> I get the following message in dmesg many many times repeatedly, lets > >> say, every one second. > >> > >> arp: packet with invalid ethernet address length 0 received on wlan0 > >> > >> According to a Google search, the reason of this may be in my network > >> environment. > >> But, I cannot change it. So, I want to stop the message by re-compiling > >> kernel(module). > >> > >> I am going to modify /src/sys/netinet/if_ether.c around line 730. > >> I am thinking just comment out the ARP_LOG function lines, like > >> --------------------------------------------------------- > >> if (hlen != 0 && hlen != ar->ar_hln) { > >> # ARP_LOG(LOG_NOTICE, > >> # "packet with invalid %s address length %d received on %s\n", > >> # layer, ar->ar_hln, if_name(ifp)); > >> m_freem(m); > >> return; > >> } > >> ---------------------------------------------------------- > >> > >> Do I have better to cut(comment out) the whole the if(){} part? > >> Or, do you have a any better solution to suppress or reduce the message? > >> Please give me some advice. > >> > >> Best, > >> T. Inoue > >> >