Skip to content
Snippets Groups Projects
Commit a03ec406 authored by rswindell's avatar rswindell
Browse files

Display/dump parsed FTN addresses for easy readability.

parent ee85e4a1
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,21 @@ str_list_t SMBCALL smb_msghdr_str_list(smbmsg_t* msg)
,smb_hfieldtype(msg->hfield[i].type)
,smb_nettype((enum smb_net_type)*(uint16_t*)msg->hfield_dat[i]));
break;
case SENDERNETADDR:
strListAppendFormat(&list, HFIELD_NAME_FMT "%s"
,smb_hfieldtype(msg->hfield[i].type)
,smb_netaddr(&msg->from_net));
break;
case RECIPIENTNETADDR:
strListAppendFormat(&list, HFIELD_NAME_FMT "%s"
,smb_hfieldtype(msg->hfield[i].type)
,smb_netaddr(&msg->to_net));
break;
case REPLYTONETADDR:
strListAppendFormat(&list, HFIELD_NAME_FMT "%s"
,smb_hfieldtype(msg->hfield[i].type)
,smb_netaddr(&msg->replyto_net));
break;
default:
strListAppendFormat(&list, HFIELD_NAME_FMT "%s"
,smb_hfieldtype(msg->hfield[i].type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment