Home
last modified time | relevance | path

Searched hist:d80d73493767111b7569e831a93061014c682274 (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/arp/
H A Darp.cdiff d80d73493767111b7569e831a93061014c682274 Tue Jul 05 05:56:29 CEST 2022 KUROSAWA Takahiro <takahiro.kurosawa@gmail.com> arp(8): use getifaddrs(3) instead of ioctl(SIOCGIFCONF)

The original code had used a fixed-size buffer for ioctl(SIOCGIFCONF),
that might cause the target ifreq spilled from the buffer. Use the handy
getifaddrs(3) to fix the problem.

Reviewed by: glebius
Differential revision: https://reviews.freebsd.org/D35536