summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/net-snmp53/files/patch-at.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp53/files/patch-at.c b/net-mgmt/net-snmp53/files/patch-at.c
new file mode 100644
index 000000000000..12070f96cc23
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-at.c
@@ -0,0 +1,14 @@
+--- agent/mibgroup/mibII/at.c.orig 2008-12-25 10:40:04.000000000 +0900
++++ agent/mibgroup/mibII/at.c 2008-12-25 10:40:59.000000000 +0900
+@@ -686,7 +686,11 @@
+ mib[2] = 0;
+ mib[3] = AF_INET;
+ mib[4] = NET_RT_FLAGS;
++#if defined(RTF_LLINFO)
+ mib[5] = RTF_LLINFO;
++#else
++ mib[5] = 0;
++#endif
+
+ if (at)
+ free(at);