aboutsummaryrefslogtreecommitdiffstats
path: root/epan/exported_pdu.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-05-14 21:06:21 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-05-14 21:06:21 +0000
commit732380177904489e2d45d1b418080e0187b71d11 (patch)
treee3380c1a8d0ec73a1070a9a2c8a058ad4985bbc7 /epan/exported_pdu.c
parenteded0ecb14b8f9a395c71d7281129de2bc4291bf (diff)
Fix copy/paste errors
svn path=/trunk/; revision=49306
Diffstat (limited to 'epan/exported_pdu.c')
-rw-r--r--epan/exported_pdu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/exported_pdu.c b/epan/exported_pdu.c
index 9c66bb7323..191014d6c7 100644
--- a/epan/exported_pdu.c
+++ b/epan/exported_pdu.c
@@ -189,7 +189,7 @@ load_export_pdu_tags(packet_info *pinfo, const char* proto_name, int wtap_encap
i = i +EXP_PDU_TAG_DST_PORT_LEN;
}
- if((tags_bit_field & EXP_PDU_TAG_ORIG_FNO_LEN) == EXP_PDU_TAG_ORIG_FNO_LEN){
+ if((tags_bit_field & EXP_PDU_TAG_ORIG_FNO_BIT) == EXP_PDU_TAG_ORIG_FNO_BIT){
exp_pdu_data->tlv_buffer[i] = 0;
i++;
exp_pdu_data->tlv_buffer[i] = EXP_PDU_TAG_ORIG_FNO;
@@ -202,7 +202,7 @@ load_export_pdu_tags(packet_info *pinfo, const char* proto_name, int wtap_encap
exp_pdu_data->tlv_buffer[i+1] = (pinfo->fd->num & 0x00ff0000) >> 16;
exp_pdu_data->tlv_buffer[i+2] = (pinfo->fd->num & 0x0000ff00) >> 8;
exp_pdu_data->tlv_buffer[i+3] = (pinfo->fd->num & 0x000000ff);
- /*i = i +EXP_PDU_TAG_DST_PORT_LEN;*/
+ /*i = i +EXP_PDU_TAG_ORIG_FNO_LEN;*/
}
return exp_pdu_data;