hi,

I used the `set iface idle` command and set its value to 30.

I was under the impression that mpd will bring down the interface
only if there is no traffic flowing through it. However, when I made tests
on this feature, mpd seems to bring down the interface after 30 seconds
even if traffic is flowing through it.

I browsed through some code and noticed that in IfaceIdleTimeout(),
the following values that are being compared are always zero...

<snippet>
if (iface->idleStats.recvFrames + iface->idleStats.xmitFrames <
    b->stats.recvFrames + b->stats.xmitFrames) {
</snippet>

Is this a bug? Has anybody tried setting the `set iface idle` command in 4.2b2?

NOTE:
I tried doing the same tests with a 4.1 source, and everything worked
as expected.

Any help/comment/suggestion is appreciated.

-- 
There are seven words in this sentence.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mpd-users mailing list
Mpd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mpd-users

Reply via email to