On Son, 2007-10-21 at 01:05 +0200, Bernd Petrovitsch wrote:
[...]
> I stumbled recently over the structs hna4_entry and hna6_entry (in
> src/olsrd_cnf.h), which look pretty much the same (they contain an IP
> address and a netmask/prefixlen) and are there for the same purpose
> (store a locally configured HNA).
> So there is no real reason to duplicate data structures and source
> handling those. The IMHO working patch is in
> http://bernd.petrovitsch.priv.at/olsr-ng/local-hna-cleanup-20071020.patch
> but I'm not sure that it doesn't hurt others.

Done - for the Linux and common part.

> Does anyone see any problems?

ATM !Linux doesn't compile probably.
For the others: Except for Win32, I have no systems around to compile
on so either you fix it yourself (and sent a patch) or get me such
systems;-)
The changes are pretty forward but feel free to ask.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




