Browse Source

byte-swap homer ID as required

fixes #902

Change-Id: I332120c269ef63a273ca1a87f4e98cac8afb5e25
changes/08/36708/1
Richard Fuchs 6 years ago
parent
commit
d1e3dc0996
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/homer.c

+ 1
- 1
daemon/homer.c View File

@ -427,7 +427,7 @@ static int send_hepv3 (GString *s, const str *id, int capt_id, const endpoint_t
/* Capture ID */ /* Capture ID */
hg->capt_id.chunk.vendor_id = htons(0x0000); hg->capt_id.chunk.vendor_id = htons(0x0000);
hg->capt_id.chunk.type_id = htons(0x000c); hg->capt_id.chunk.type_id = htons(0x000c);
hg->capt_id.data = capt_id;
hg->capt_id.data = htonl(capt_id);
hg->capt_id.chunk.length = htons(sizeof(hg->capt_id)); hg->capt_id.chunk.length = htons(sizeof(hg->capt_id));
/* Payload */ /* Payload */


Loading…
Cancel
Save