Skip to content

Commit

Permalink
Bug appneta#393 fix armel etc. build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fklassen committed May 10, 2017
1 parent fc3449a commit 5acef68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dnl $Id$
AC_PREREQ([2.69])

dnl Set version info here!
AC_INIT([tcpreplay],[4.2.6-beta1],
AC_INIT([tcpreplay],[4.2.6-beta2],
[https://github.com/appneta/tcpreplay/issues],
[tcpreplay],
[http://tcpreplay.sourceforge.net/])
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
05/10/2017 Version 4.2.6-beta1
05/10/2017 Version 4.2.6-beta2
- Test fails on sparc64 (#393)

05/02/2017 Version 4.2.5
Expand Down
4 changes: 2 additions & 2 deletions src/tcpedit/edit_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ randomize_iparp(tcpedit_t *tcpedit, struct pcap_pkthdr *pkthdr,
#endif
*ip = randomize_ipv4_addr(tcpedit, *ip);
#ifdef FORCE_ALIGN
memcpy(add_hdr, &tempip, sizeof(uint32_t));
memcpy(add_hdr, &iptemp, sizeof(uint32_t));
#endif

add_hdr += arp_hdr->ar_pln + arp_hdr->ar_hln;
Expand All @@ -993,7 +993,7 @@ randomize_iparp(tcpedit_t *tcpedit, struct pcap_pkthdr *pkthdr,
#endif
*ip = randomize_ipv4_addr(tcpedit, *ip);
#ifdef FORCE_ALIGN
memcpy(add_hdr, &tempip, sizeof(uint32_t));
memcpy(add_hdr, &iptemp, sizeof(uint32_t));
#endif
}

Expand Down

0 comments on commit 5acef68

Please sign in to comment.