Hi,

I was reached with question about $SUBJ, that I am not sure, if it's possible.

Imagine this situation.

Someone have linux system, on which is disabled IPv6 support via grub file 
(/etc/default/grub -> ipv6.disable=1). After reboot, this will cause following 
error message by snmpd [1], that /proc/net/if_inet6 could not be opened. That's 
completely fine and makes sense. But, is there some way, how to avoid this 
error message to be shown, when IPv6 is disabled on the system and we don't 
want to rebuild the whole package just to remove -DNETSNMP_ENABLE_IPV6 from 
CFLAGS? 

[1] 
https://github.com/net-snmp/net-snmp/blob/5247f624a36be284b24a7fee941c80a8c74342d8/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c#L237

Best regards

Josef Ridky
Software Engineer
Core Services Team
Red Hat Czech, s.r.o.



_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to