aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/erf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-17 09:24:15 +0000
committerGuy Harris <guy@alum.mit.edu>2011-11-17 09:24:15 +0000
commite4658ced934430267b4ed33b630b79117660c379 (patch)
tree0fb1667fe2d922b3fa39c864325e344a0b01c773 /wiretap/erf.c
parent31f61b75b29d30050db4039b685d26338c352181 (diff)
Rename pletonll() to reflect what it actually does, namely convert a
host-byte-order 64-bit integral quantity to little-endian byte order. svn path=/trunk/; revision=39900
Diffstat (limited to 'wiretap/erf.c')
-rw-r--r--wiretap/erf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/erf.c b/wiretap/erf.c
index a3be2e2555..7b111d3d29 100644
--- a/wiretap/erf.c
+++ b/wiretap/erf.c
@@ -514,7 +514,7 @@ static gboolean erf_write_phdr(wtap_dumper *wdh, int encap, const union wtap_pse
switch(encap){
case WTAP_ENCAP_ERF:
memset(&erf_hdr, 0, sizeof(erf_hdr));
- pletonll(&erf_hdr[0], pseudo_header->erf.phdr.ts);
+ phtolell(&erf_hdr[0], pseudo_header->erf.phdr.ts);
erf_hdr[8] = pseudo_header->erf.phdr.type;
erf_hdr[9] = pseudo_header->erf.phdr.flags;
phtons(&erf_hdr[10], pseudo_header->erf.phdr.rlen);