Commit Graph

3 Commits

Author SHA1 Message Date
Tore Anderson 7e35aa56c7 Improve CLAT IPv6 address auto-generation logic
In the case of there being more than one EUI-64 based IPv6 address on
the PLAT device, clatd will now pick the one which share the longest
common prefix length with the PLAT prefix when deciding which one to
base the auto-generated CLAT IPv6 address on. This should avoid
accidentally ending up with a ULA-based CLAT IPv6 address when better
alternatives exist.

Resolves #1.
2014-03-22 01:34:55 +01:00
Tore Anderson 0f5e8857fd bugfix: correct wrong function name 2014-03-11 02:20:28 +01:00
Tore Anderson 0b520f5442 Initial commit (clatd v1.0) 2014-03-11 00:59:34 +01:00