From: Otto Moerbeek Date: Mon, 21 Sep 2020 13:34:12 +0000 (+0200) Subject: Incomplete ifdef X-Git-Tag: auth-4.4.0-alpha1~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7354b3629dff19a1939e3d2017cc5d8b14371b2;p=thirdparty%2Fpdns.git Incomplete ifdef --- diff --git a/pdns/rec-snmp.cc b/pdns/rec-snmp.cc index fd23a5ab89..f7a4138a23 100644 --- a/pdns/rec-snmp.cc +++ b/pdns/rec-snmp.cc @@ -81,10 +81,12 @@ static const oid dontOutqueriesOID[] = { RECURSOR_STATS_OID, 62 }; static const oid unreachablesOID[] = { RECURSOR_STATS_OID, 63 }; static const oid chainResendsOID[] = { RECURSOR_STATS_OID, 64 }; static const oid tcpClientsOID[] = { RECURSOR_STATS_OID, 65 }; +#ifdef __linux__ static const oid udpRecvbufErrorsOID[] = { RECURSOR_STATS_OID, 66 }; static const oid udpSndbufErrorsOID[] = { RECURSOR_STATS_OID, 67 }; static const oid udpNoportErrorsOID[] = { RECURSOR_STATS_OID, 68 }; static const oid udpinErrorsOID[] = { RECURSOR_STATS_OID, 69 }; +#endif /* __linux__ */ static const oid ednsPingMatchesOID[] = { RECURSOR_STATS_OID, 70 }; static const oid ednsPingMismatchesOID[] = { RECURSOR_STATS_OID, 71 }; static const oid dnssecQueriesOID[] = { RECURSOR_STATS_OID, 72 };