osmo-msc/openbsc/src/ipaccess
Holger Hans Peter Freyther 444d7d8e65 ipa: Fix compiler warnings about aliasing
Use memcpy to copy from the OML message into the stack and then
convert the network byte order.

network_listen.c: In function ‘test_rep’:
network_listen.c:145:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  test_rep_len = ntohs(*(uint16_t *) &foh->data[3]);
  ^
network_listen.c:153:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   ferr_list_len = ntohs(*(uint16_t *) &foh->data[7]);
   ^
network_listen.c:164:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   ferr_list_len = ntohs(*(uint16_t *) &foh->data[7]);
   ^
network_listen.c:130:11: warning: variable ‘test_rep_len’ set but not used [-Wunused-but-set-variable]
  uint16_t test_rep_len, ferr_list_len;
2014-04-04 13:01:28 +02:00
..
Makefile.am build: Remove bogus depends from ipaccess-config 2013-12-13 10:18:32 +01:00
ipaccess-config.c ipa: Explain that one needs to get the IP address of the BTS as argument 2013-11-11 14:30:09 +01:00
ipaccess-find.c ipaccess-find: Address a warning by coverity of unitialized memory 2013-07-03 10:19:37 +02:00
ipaccess-firmware.c ipaccess-firmware: Fix dumping the wrong header fields 2011-07-16 14:43:01 +02:00
ipaccess-proxy.c ipa-proxy: Socket creation can fail, address coverity issue 2013-12-12 16:20:19 +01:00
network_listen.c ipa: Fix compiler warnings about aliasing 2014-04-04 13:01:28 +02:00