diff --git a/src/smblib/smbdefs.h b/src/smblib/smbdefs.h index a90e81e657aaed1559236cef3fec7fafb9a7cc4b..3b13253a9d72c18265b3affe3b1d773004d4289d 100644 --- a/src/smblib/smbdefs.h +++ b/src/smblib/smbdefs.h @@ -497,6 +497,8 @@ typedef struct { // Message *replyto_ext, // Reply-to extension */ *id, // RFC822 Message-ID *reply_id, // RFC822 Reply-ID + *ftn_id, // FTN Message-ID + *ftn_reply_id, // FTN Reply-ID *subj; // Subject ushort to_agent, // Type of agent message is to from_agent, // Type of agent message is from diff --git a/src/smblib/smblib.c b/src/smblib/smblib.c index 6787480cf140a8321d7879568f04afd396021c51..7567a72b59b1b8f63f6633d3e088383a4b8da487 100644 --- a/src/smblib/smblib.c +++ b/src/smblib/smblib.c @@ -799,6 +799,12 @@ int SMBCALL smb_getmsghdr(smb_t* smb, smbmsg_t* msg) case RFC822REPLYID: msg->reply_id=msg->hfield_dat[i]; break; + case FIDOMSGID: + msg->ftn_id=msg->hfield_dat[i]; + break; + case FIDOREPLYID: + msg->ftn_reply_id=msg->hfield_dat[i]; + break; } l+=msg->hfield[i].length; }