Cleanup:
authorBernd Petrovitsch <bernd@firmix.at>
Mon, 5 Nov 2007 15:32:55 +0000 (15:32 +0000)
committerBernd Petrovitsch <bernd@firmix.at>
Mon, 5 Nov 2007 15:32:55 +0000 (15:32 +0000)
commit36803c92adad86c26aa06bbe00c8e6522c3de21d
tree60f1c70a19e9282f52cbb2c75caa2338ca855af6
parentd6380228830cfdad6f155db9dae5cc60812db85a
Cleanup:
* Merged "struct hna4_entry" and "struct hna6_entry" into
  "struct local_hna_entry" (as "struct hna_entry" is a different thing)
  Both have almost the same data (IP address + netmask/prefix) so we use
  the quite new "struct olsr_ip_prefix" to store it.
  Also merged the "hna4" and "hna6" pointer in "struct olsr_config" -
  look at the global "olsr_cnf->ip_version".
* const'ified here and there
* added a olsr_ip_prefix_to_string() function
17 files changed:
lib/dot_draw/src/olsrd_dot_draw.c
lib/httpinfo/src/admin_interface.c
lib/httpinfo/src/olsrd_httpinfo.c
lib/nameservice/src/nameservice.c
lib/nameservice/src/nameservice.h
lib/txtinfo/src/olsrd_txtinfo.c
src/build_msg.c
src/cfgparser/cfgfile_gen.c
src/cfgparser/olsrd_conf.c
src/cfgparser/oparse.y
src/ipc_frontend.c
src/local_hna_set.c
src/local_hna_set.h
src/lq_route.c
src/net_olsr.c
src/net_olsr.h
src/olsr_cfg.h