diff options
Diffstat (limited to 'src/osmo-bts-virtual')
-rw-r--r-- | src/osmo-bts-virtual/scheduler_virtbts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osmo-bts-virtual/scheduler_virtbts.c b/src/osmo-bts-virtual/scheduler_virtbts.c index 0621eaa6..fef367bf 100644 --- a/src/osmo-bts-virtual/scheduler_virtbts.c +++ b/src/osmo-bts-virtual/scheduler_virtbts.c @@ -50,7 +50,9 @@ static const char *gsmtap_hdr_stringify(const struct gsmtap_hdr *gh) { static char buf[256]; snprintf(buf, sizeof(buf), "(ARFCN=%u, ts=%u, ss=%u, type=%u/%u)", - gh->arfcn & GSMTAP_ARFCN_MASK, gh->timeslot, gh->sub_slot, gh->type, gh->sub_type); + ntohs(gh->arfcn & GSMTAP_ARFCN_MASK), + gh->timeslot, gh->sub_slot, + gh->type, gh->sub_type); return buf; } |