mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
net-snmp: bump to 5.9
Neither the configure option nor configure variable to disable linking against PCRE seem to work anymore, so simply drop both and add a dependency on libpcre. As net-snmp is unlikely to fit on devices with small flash anyway, the extra size requirement shouldn't be a problem. If it is, feel free to submit a patch to fix the broken upstream behaviour. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/agent/mibgroup/mibII/interfaces.c
|
||||
+++ b/agent/mibgroup/mibII/interfaces.c
|
||||
@@ -1588,6 +1588,10 @@ Interface_Scan_Init(void)
|
||||
@@ -1579,6 +1579,10 @@ Interface_Scan_Init(void)
|
||||
struct ifnet *nnew;
|
||||
char *stats, *ifstart = line;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
if (line[strlen(line) - 1] == '\n')
|
||||
line[strlen(line) - 1] = '\0';
|
||||
|
||||
@@ -1620,7 +1624,7 @@ Interface_Scan_Init(void)
|
||||
@@ -1611,7 +1615,7 @@ Interface_Scan_Init(void)
|
||||
&coll) != 5)) {
|
||||
if ((scan_line_to_use == scan_line_2_2)
|
||||
&& !strstr(line, "No statistics available"))
|
||||
|
||||
Reference in New Issue
Block a user