aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pmacct/files/patch-src_sflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/pmacct/files/patch-src_sflow.c')
-rw-r--r--net-mgmt/pmacct/files/patch-src_sflow.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/pmacct/files/patch-src_sflow.c b/net-mgmt/pmacct/files/patch-src_sflow.c
new file mode 100644
index 000000000000..8a8df0620e6c
--- /dev/null
+++ b/net-mgmt/pmacct/files/patch-src_sflow.c
@@ -0,0 +1,11 @@
+--- src/sflow.c.orig 2020-05-10 13:57:54 UTC
++++ src/sflow.c
+@@ -306,7 +306,7 @@ void decodeIPV4(SFSample *sample)
+
+ void decodeIPV6(SFSample *sample)
+ {
+- u_int32_t label;
++ u_int32_t label __attribute__((unused));
+ u_int32_t nextHeader;
+ u_char *end = sample->header + sample->headerLen;
+