On 25/10/17(Wed) 14:17, Stuart Henderson wrote:
> On 2017/10/25 12:20, Martin Pieuchot wrote:
> > The second group of ioctl(2)s is not used in base and should be used
> > conditionally in ports, so it should be safe:
> >   SIOCGIFADDR_IN6, SIOCGIFSTAT_IN6, SIOCGIFSTAT_ICMP6
> 
> "should" :-) Net-SNMP uses SIOCGIFSTAT_IN6 without a guard in
> 
> agent/mibgroup/ip-mib/data_access/systemstats_sysctl.c:_systemstats_v6_load_ifstats()

This is inside #ifdef __NetBSD__, the port builds fine for me.

Reply via email to