aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspro_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspro_util.c')
-rw-r--r--src/rspro_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspro_util.c b/src/rspro_util.c
index 1db5ceb..4da9270 100644
--- a/src/rspro_util.c
+++ b/src/rspro_util.c
@@ -29,7 +29,7 @@ struct msgb *rspro_enc_msg(RsproPDU_t *pdu)
if (rval.encoded < 0) {
return NULL;
}
- msgb_put(msg, rval.encoded/8);
+ msgb_put(msg, rval.encoded);
ASN_STRUCT_FREE(asn_DEF_RsproPDU, pdu);