smb2-dissector: learn the "REPLAY_OPERATION" flag
[obnox/wireshark/wip.git] / pcapio.c
index d29bd931a4c3e0f7f01eaaf5fb73d159eb401cad..1527380671795811a4e9a66b6db976864b0e2595 100644 (file)
--- a/pcapio.c
+++ b/pcapio.c
@@ -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);
        }