From e7354b3629dff19a1939e3d2017cc5d8b14371b2 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 21 Sep 2020 15:34:12 +0200 Subject: [PATCH] Incomplete ifdef --- pdns/rec-snmp.cc | 2 ++ 1 file changed, 2 insertions(+) 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 }; -- 2.47.2