Re: git: 79278872ad96 - main - arp(8): fix by-interface and by-host filtering when using netlink
Date: Thu, 14 Sep 2023 10:32:13 UTC
On 14 Sep 2023, at 11:14, Kristof Provost wrote: > The branch main has been updated by kp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=79278872ad966e5f54805efbeb692c8cbc0306c8 > > commit 79278872ad966e5f54805efbeb692c8cbc0306c8 > Author: R. Christian McDonald <rcm@rcm.sh> > AuthorDate: 2023-09-14 07:07:24 +0000 > Commit: Kristof Provost <kp@FreeBSD.org> > CommitDate: 2023-09-14 08:14:10 +0000 > > arp(8): fix by-interface and by-host filtering when using netlink > > arp(8) has traditionally supported filtering by interface via -i and > by hostname. However, this functionality was omitted from the initial > netlink-ification of arp. This patch re-introduces this filtering > functionality. > > This patch also improves by-interface filtering by storing and using the > ifindex of the requested interface for filtering instead of comparing > interface name strings > > Reviewed by: melifaro > Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D41839 — Kristof