diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-11-24 21:53:35 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-11-24 21:53:35 +0100 |
commit | 3e7dfc05e8b71ab51f78614af976c0f1fe62f302 (patch) | |
tree | 9cbf780a0d911fe0905899fa4eb66578c0cbc7e4 /etc/inc | |
parent | 162477a405805948f2de7e165049f6d7e80813fe (diff) | |
download | pfsense-3e7dfc05e8b71ab51f78614af976c0f1fe62f302.zip pfsense-3e7dfc05e8b71ab51f78614af976c0f1fe62f302.tar.gz |
Use the list sta output instead of list ap which we used before.
Still need to check if this also results in the right values being graphed, takes some time to confirm.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/rrd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index d11dc6e..c61a732 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -345,7 +345,7 @@ function enable_rrd_graphing() { $rrdupdatesh .= "\n"; $rrdupdatesh .= "# polling wireless for interface $ifname $realif \n"; $rrdupdatesh .= "$rrdtool update $rrddbpath$ifname$wireless N:\\\n"; - $rrdupdatesh .= "`$ifconfig {$realif} list ap| $awk 'gsub(\"M\", \"\") {getline 2;print substr(\$5, 0, length(\$5)-2) \":\" $4 \":\" $3}'`\n"; + $rrdupdatesh .= "`$ifconfig {$realif} list sta| $awk 'gsub(\"M\", \"\") {getline 2;print substr(\$5, 0, length(\$5)-2) \":\" $4 \":\" $3}'`\n"; } /* QUEUES, set up the queues databases */ |