At 22:16 +0000 8/12/99, David Taylor wrote:
>>
>
>Wow. Its unbeleivably simple [timestamps stripped]:
>
>diald[453]: IP transmited 380 bytes and received 0 bytes.
> ^^^
>changed to
>
>diald[453]: IP transmitted 380 bytes and received 0 bytes.
> ^^^^
>
>So, in diald.monthly just change (line 39 or so)
>
> } elsif( /IP transmited (\d+) bytes and received (\d+) bytes/ ) {
>to
>
> } elsif( /IP transmitt?ed (\d+) bytes and received (\d+) bytes/ ) {
>
>which will work with both log formats..
>
Thanks for that oh-so-simple fix.
I don't know perl, but as I was perusing the diald.monthly source, I
noticed the following on line 23:
$year = 1900 + $time[5];
Now doesn't this look suspiciously like a Y2K problem?
What should be done so that it works 20 days from now?
John
__________________________________________________________________
John Seifarth http://www.waw.be/waw/
Words & Wires SPRL [EMAIL PROTECTED]
Computer Consulting & Language Services Voice: (+) 32-2-660-3943
1160 Brussels, Belgium Fax: (+) 32-2-675-3922
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]