FIX: ra loops forever on cisco netflow file
Carter Bullard
carter at qosient.com
Tue Mar 6 17:40:01 EST 2001
Hey David,
This problem is the same that was fixed in beta.9 for
ra streams. The fix for Cisco streams and SASL streams
is now in the release. The patch for beta.9 is below.
Thanks for using argusbug.
Carter
Index: argus_parse.c
===================================================================
RCS file: /usr/local/cvsroot/argus/common/argus_parse.c,v
retrieving revision 1.124
diff -r1.124 argus_parse.c
1378,1379c1378,1383
< if (!((cnt < 0) && ((errno == EAGAIN) || (errno == EINTR))))
< retn = 1;
---
>
> retn = 1;
>
> if ((cnt < 0) && ((errno == EAGAIN) || (errno == EINTR))) {
> retn = 0;
> }
1454,1460d1457
< /*
< if (cnt < 0) {
< if (!((errno == EAGAIN) || (errno == EINTR))) {
< retn = 1;
< }
< }
< */
1565,1566d1561
< if (cnt < 0) {
< if (!((errno == EAGAIN) || (errno == EINTR))) {
1568c1563
< ArgusDebug (3, "ArgusReadCiscoStreamSocket (0x%x) read
returned %d error %s\n", input, cnt, strerror(errno));
---
> ArgusDebug (3, "ArgusReadCiscoStreamSocket (0x%x) read returned %d
error %s\n", input, cnt, strerror(errno));
1570,1571c1565,1569
< retn = 1;
< }
---
>
> retn = 1;
>
> if ((cnt < 0) && ((errno == EAGAIN) || (errno == EINTR))) {
> retn = 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20010306/931135eb/attachment.html>
More information about the argus
mailing list