Changeset c3e5f30 for lib/format_rt.c


Ignore:
Timestamp:
04/26/06 16:06:08 (15 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
ae66bde
Parents:
b333d68
Message:

Fixed the Makefile to include libtraceio.h when doing a 'make dist'
Multiple rt clients no longer share the same reliability variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_rt.c

    r91db67b rc3e5f30  
    5353
    5454#define RT_INFO ((struct rt_format_data_t*)libtrace->format_data)
    55 
    56 int reliability = 0;
    5755
    5856char *rt_deny_reason(uint8_t reason) {
     
    174172                                return -1;
    175173                        }
    176                         reliability = hello_opts.reliable;
     174                        RT_INFO->reliable = hello_opts.reliable;
    177175                       
    178176                        return 0;
     
    489487                rt_set_payload(packet);
    490488
    491                 if (reliability > 0) {
    492                        
     489                if (RT_INFO->reliable > 0) {
    493490                        if (rt_send_ack(libtrace, pkt_hdr->sequence)
    494491                                        == -1)
Note: See TracChangeset for help on using the changeset viewer.