Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215737 Details for
Bug 300171
net-analyzer/munin-1.4.3 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised patch from 1.3.4
munin-1.4.3-fw_conntrack_plugins.patch (text/plain), 724 bytes, created by
Brian De Wolf
on 2010-01-08 23:43:11 UTC
(
hide
)
Description:
revised patch from 1.3.4
Filename:
MIME Type:
Creator:
Brian De Wolf
Created:
2010-01-08 23:43:11 UTC
Size:
724 bytes
patch
obsolete
>--- plugins/node.d.linux/fw_forwarded_local.in.bak 2010-01-08 11:23:26.000000000 -0800 >+++ plugins/node.d.linux/fw_forwarded_local.in 2010-01-08 11:24:24.000000000 -0800 >@@ -32,7 +32,7 @@ > =cut > > if [ "$1" = "autoconf" ]; then >- if [ -r /proc/net/ip_conntrack ] >+ if [ -r /proc/net/ip_conntrack -o -r /proc/net/nf_conntrack ] > then > echo yes > else >@@ -53,6 +53,13 @@ > exit 0 > fi > >+if [ -r /proc/net/ip_conntrack ]; then >+ _conntrack_file=/proc/net/ip_conntrack >+else >+ _conntrack_file=/proc/net/nf_conntrack >+fi >+ >+ > perl -ne ' > BEGIN { $forward=0; $local=0; } > >@@ -65,5 +72,5 @@ > } > } > END { print "forward.value $forward\nlocal.value $local\n" } >-' </proc/net/ip_conntrack >+' <_conntrack_file >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 300171
:
215692
|
215735
| 215737 |
215739
|
215741
|
215742
|
215753
|
216120
|
216304
|
216830
|
217758
|
218051