Commit d8f36c4f authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

* nprobe.c (initNetFlowV9Header, initNetFlowIPFIXHeader): Observation

  domain ID is 32 bits, not 16.


git-svn-id: file:///home/svn/mapi/trunk@1257 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent fb1bd1f4
......@@ -583,7 +583,7 @@ initNetFlowV9Header(np_ctxt_t *npctxt)
npctxt->initialSniffTime));
v9Header->unix_secs = htonl(time(NULL));
v9Header->flow_sequence = htonl(npctxt->flowSequence);
v9Header->sourceId = htons(npctxt->observationDomainID);
v9Header->sourceId = htonl(npctxt->observationDomainID);
}
/* ****************************************************** */
......@@ -599,7 +599,7 @@ initNetFlowIPFIXHeader(np_ctxt_t *npctxt)
ipfixHeader->exportTime = 0; /* set at time of export */
ipfixHeader->flow_sequence = htonl(npctxt->flowSequence-
(u_int32_t)npctxt->numFlows);
ipfixHeader->sourceId = htons(npctxt->observationDomainID);
ipfixHeader->sourceId = htonl(npctxt->observationDomainID);
}
/* ****************************************************** */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment