mirror of https://gerrit.osmocom.org/libosmocore
fixup
This commit is contained in:
parent
783d073a37
commit
63b156a9e0
|
@ -23,6 +23,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
#include <osmocom/core/talloc.h>
|
#include <osmocom/core/talloc.h>
|
||||||
#include <osmocom/gsm/protocol/gsm_03_41.h>
|
#include <osmocom/gsm/protocol/gsm_03_41.h>
|
||||||
|
|
||||||
|
@ -34,6 +36,8 @@ gsm0341_build_msg(void *ctx, uint8_t geo_scope, uint8_t msg_code,
|
||||||
{
|
{
|
||||||
struct gsm341_ms_message *cbmsg;
|
struct gsm341_ms_message *cbmsg;
|
||||||
|
|
||||||
|
msg_id = htons(msg_id);
|
||||||
|
|
||||||
if (len > 88)
|
if (len > 88)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue