Your message dated Sat, 27 Oct 2012 10:10:50 +0000 with message-id <[email protected]> and subject line Bug#690391: Removed package(s) from unstable has caused the Debian Bug report #584889, regarding bittwist: Fails to work in 64bit-systems to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 584889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584889 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: bittwist Version: 1.1-1 Severity: normal When trying to use bittwist to send captured packets using an amd64-system it sent garbage. The affixed patch corrected this. -- snip -- diff -ru bittwist-1.1/src/bittwist.c bittwist-1.1-patched/src/bittwist.c --- bittwist-1.1/src/bittwist.c 2010-02-19 09:16:54.000000000 +0100 +++ bittwist-1.1-patched/src/bittwist.c 2010-04-19 17:37:45.000000000 +0200 @@ -190,7 +190,7 @@ { FILE *fp; /* file pointer to trace file */ struct pcap_file_header preamble; - struct pcap_pkthdr header; + struct pcap_sf_pkthdr header; int pkt_len; /* packet length to send */ int ret; int i; @@ -223,7 +223,10 @@ error("fread(): error reading %s", trace_file); /* copy timestamp for current packet */ - memcpy(&cur_ts, &header.ts, sizeof(struct timeval)); + struct pcap_timeval ptime; + memcpy(&ptime, &header.ts, sizeof(ptime)); + cur_ts.tv_sec = ptime.tv_sec; + cur_ts.tv_usec = ptime.tv_usec; if (len < 0) /* captured length */ pkt_len = header.caplen; diff -ru bittwist-1.1/src/def.h bittwist-1.1-patched/src/def.h --- bittwist-1.1/src/def.h 2010-02-19 09:16:54.000000000 +0100 +++ bittwist-1.1-patched/src/def.h 2010-04-19 17:35:39.000000000 +0200 @@ -43,6 +43,17 @@ #endif #include <pcap.h> +struct pcap_timeval { + bpf_int32 tv_sec; /* seconds */ + bpf_int32 tv_usec; /* microseconds */ +}; + +struct pcap_sf_pkthdr { + struct pcap_timeval ts; /* time stamp */ + bpf_u_int32 caplen; /* length of portion present */ + bpf_u_int32 len; /* length this packet (off wire) */ +}; + #define BITTWIST_VERSION "1.1" #define BITTWISTE_VERSION BITTWIST_VERSION #define BITTWISTB_VERSION BITTWIST_VERSION -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores) Shell: /bin/sh linked to /bin/dash Versions of packages bittwist depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libpcap0.8 1.0.0-6 system interface for user-level pa Versions of packages bittwist recommends: ii tcpdump 4.1.1-1 A powerful tool for network monito Versions of packages bittwist suggests: pn wireshark <none> (no description available) -- debconf information:
--- End Message ---
--- Begin Message ---Version: 1.1-1+rm Dear submitter, as the package bittwist has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see http://bugs.debian.org/690391 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Luca Falavigna (the ftpmaster behind the curtain)
--- End Message ---

