diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-25 08:20:50 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-25 08:20:50 +0000 |
commit | e994e7841299a7eb15783ef24f0b1de46218a1b1 (patch) | |
tree | 27766107039172df9f50b08155a129d8703ae2de /pcapio.c | |
parent | 1cf31238ffd9b3320666838578b59d35437e749a (diff) |
From Jose Pedro Oliveira: pcapio is writing the if_speed value in the IDB_TSRESOL optiones
svn path=/trunk/; revision=41184
Diffstat (limited to 'pcapio.c')
-rw-r--r-- | pcapio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -526,7 +526,7 @@ libpcap_write_interface_description_block(FILE *fp, option.type = IDB_TSRESOL; option.value_length = sizeof(guint8); WRITE_DATA(fp, &option, sizeof(struct option), *bytes_written, err); - WRITE_DATA(fp, &if_speed, sizeof(guint8), *bytes_written, err); + WRITE_DATA(fp, &tsresol, sizeof(guint8), *bytes_written, err); WRITE_DATA(fp, &padding, 3 , *bytes_written, err); } |