Changeset 743
- Timestamp:
- 04/26/06 16:06:08 (7 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
-
Makefile.am (modified) (2 diffs)
-
format_rt.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Makefile.am
r724 r743 1 1 lib_LTLIBRARIES = libtrace.la 2 include_HEADERS = libtrace.h dagformat.h wag.h lt_inttypes.h daglegacy.h rt_protocol.h 2 include_HEADERS = libtrace.h dagformat.h wag.h lt_inttypes.h daglegacy.h rt_protocol.h libtraceio.h 3 3 4 4 extra_DIST = format_template.c … … 7 7 format_rt.c format_helper.c format_helper.h format_pcapfile.c \ 8 8 parse_cmd.c parse_cmd.h libtrace_int.h lt_inttypes.h \ 9 linktypes.c protocols.c 9 linktypes.c protocols.c libtraceio.h 10 10 if HAVE_NETPACKET_PACKET_H 11 11 libtrace_la_SOURCES+=format_linux.c -
trunk/lib/format_rt.c
r735 r743 53 53 54 54 #define RT_INFO ((struct rt_format_data_t*)libtrace->format_data) 55 56 int reliability = 0;57 55 58 56 char *rt_deny_reason(uint8_t reason) { … … 174 172 return -1; 175 173 } 176 reliability= hello_opts.reliable;174 RT_INFO->reliable = hello_opts.reliable; 177 175 178 176 return 0; … … 489 487 rt_set_payload(packet); 490 488 491 if (reliability > 0) { 492 489 if (RT_INFO->reliable > 0) { 493 490 if (rt_send_ack(libtrace, pkt_hdr->sequence) 494 491 == -1)
Note: See TracChangeset
for help on using the changeset viewer.
