[flow-tools] 0.55: exporter IP address not being set correctly

Jos Backus Jos Backus <josb@cncdsl.com>
Wed, 17 Oct 2001 13:01:42 -0701


This patch fixes it here.

--- src/flow-capture.c.orig     Tue Oct 16 17:56:11 2001
+++ src/flow-capture.c  Tue Oct 16 17:56:34 2001
@@ -803,7 +803,7 @@
       /* decode the pdu */
       ftpdu.ftd.byte_order = ftset.byte_order;
       ftpdu.ftd.as_sub = ftset.as_sub;
-      ftpdu.ftd.exporter_ip = ftnet.rem_ip;
+      ftpdu.ftd.exporter_ip = ftch_recexp.src_ip;
       n = fts3rec_pdu_decode(&ftpdu);
 
       /* update the exporter stats */

Thanks,
-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb@cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;