summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
authorlaforge <laforge>2004-07-23 12:48:43 +0000
committerlaforge <laforge>2004-07-23 12:48:43 +0000
commit6a7f47731961180880cb9d47748ad208d309fb51 (patch)
treeaf2a0454ad36acfca5b1d7e503972fca3736bb9e /ulogd
parent9f6e72e1ec778fbdf3a45e55fa1c6aa6715a4095 (diff)
fix TOS bits (Rich Bartell)
Diffstat (limited to 'ulogd')
-rw-r--r--ulogd/extensions/ulogd_BASE.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ulogd/extensions/ulogd_BASE.c b/ulogd/extensions/ulogd_BASE.c
index f98aaf8..6bfaea3 100644
--- a/ulogd/extensions/ulogd_BASE.c
+++ b/ulogd/extensions/ulogd_BASE.c
@@ -26,7 +26,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- * $Id: ulogd_BASE.c,v 1.21 2003/08/24 08:25:10 laforge Exp $
+ * $Id$
*
*/
@@ -173,7 +173,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;