summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/raw2packet/ulogd_raw2packet_BASE.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/raw2packet/ulogd_raw2packet_BASE.c b/filter/raw2packet/ulogd_raw2packet_BASE.c
index 7a383d5..2cc733a 100644
--- a/filter/raw2packet/ulogd_raw2packet_BASE.c
+++ b/filter/raw2packet/ulogd_raw2packet_BASE.c
@@ -243,7 +243,7 @@ static ulog_iret_t *_interp_iphdr(struct ulog_interpreter *ip,
ret[1].flags |= ULOGD_RETF_VALID;
ret[2].value.ui8 = iph->protocol;
ret[2].flags |= ULOGD_RETF_VALID;
- ret[3].value.ui8 = ntohs(iph->tos);
+ ret[3].value.ui8 = iph->tos;
ret[3].flags |= ULOGD_RETF_VALID;
ret[4].value.ui8 = iph->ttl;
ret[4].flags |= ULOGD_RETF_VALID;