summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-28 17:58:25 +0200
committerHarald Welte <laforge@gnumonks.org>2015-11-15 14:04:06 +0100
commit46601d52bc4ef8442422e2d367aa70beb58a378b (patch)
tree8f43b2352ab9a878079e5caaa2a5ee5386d6e20b
parentcf34183616c2d004ab775def49c7b65f1f3d9e94 (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];