summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-28 17:58:25 +0200
committerHarald Welte <laforge@gnumonks.org>2012-06-28 17:58:25 +0200
commit527c87ca1f2ba4d426ecabafa3ba9f82562c0adf (patch)
tree5d1f731c7973fc8e413779480851c53388661945
parent0dd0da81e531e10459389df3ddc87fa080cfeeea (diff)
Use uint16_t for MCC and MNC
As Dieter correctly points out, MCC an MNC can very well be lager than 255 ;)
-rw-r--r--openbsc/src/osmo-ganc/ganc_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-ganc/ganc_data.h b/openbsc/src/osmo-ganc/ganc_data.h
index 3faf785..fe7d3c4 100644
--- a/openbsc/src/osmo-ganc/ganc_data.h
+++ b/openbsc/src/osmo-ganc/ganc_data.h
@@ -47,8 +47,8 @@ struct gan_peer {
};
struct ganc_net {
- uint8_t country_code;
- uint8_t network_code;
+ uint16_t country_code;
+ uint16_t network_code;
uint16_t timer[_NUM_GANC_TIMER];