aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/tlv.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/tlv.h')
-rw-r--r--openbsc/include/openbsc/tlv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/tlv.h b/openbsc/include/openbsc/tlv.h
index 0cf4388d8..e970ce468 100644
--- a/openbsc/include/openbsc/tlv.h
+++ b/openbsc/include/openbsc/tlv.h
@@ -119,6 +119,7 @@ static inline u_int8_t *tv_put(u_int8_t *buf, u_int8_t tag,
return buf;
}
+/* 'val' is still in host byte order! */
static inline u_int8_t *tv16_put(u_int8_t *buf, u_int8_t tag,
u_int16_t val)
{