[netsa-tools-discuss] Conflict in code

amir ranjbar amirpaz1377 at gmail.com
Thu Feb 8 05:46:26 EST 2018


Hello
I want to create an enterprise-specific information element and after that
make an option template and record.
I found this document and act like that :
https://tools.netsa.cert.org/fixbuf/libfixbuf/rfc_5610.html
I got some errors in  calling this function:
fbInfoElementWriteOptionsRecord
<https://tools.netsa.cert.org/fixbuf/libfixbuf/public_8h.html#aa939fd9269e4cf11317aa8ff9fc48224>(fbuf,
fbInfoModelGetElementByName
<https://tools.netsa.cert.org/fixbuf/libfixbuf/public_8h.html#a5dc8b2e255bc36ca22abbb811bf85c20>
(infoModel, "myNewElement"), tid, err);
It gets just one template id and call fbSessionAddTemplate()
<https://tools.netsa.cert.org/fixbuf/libfixbuf/public_8h.html#a2e4baf6d2142eca4cb526b1e80628bf8>
and  fBufSetExportTemplate()
<https://tools.netsa.cert.org/fixbuf/libfixbuf/public_8h.html#af6cd20b1eb9a3287f17587888ee2476b>
with this parameter. But we need two different template ids: internal
template id and external template id...
What should i do ?
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the netsa-tools-discuss mailing list