Adrian Schmutzler
0092713196
The owipcalc tool provides an "add" algorithm which can be used to concateneted IPv6 addresses from prefix and suffix. Since it's available upstream and our string manipulation is ugly, let's replace our IP concatenation with that tool. The package consists of a single .c file with about 1000 lines resulting in about 4 kB for the ipk package. This patch does _not_ introduce any conceptual changes yet. Thus, the "wrong" IPv6 prefix from KeyXchange will be expected in the same format, it is just healed for the new code for now. The change allows to get rid of some bloat, i.e. some quite trivial custom functions on the way. This also drops the ipTidyColon() function, as owipcalc seems to return the collapsed version by default. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de> |
||
---|---|---|
.. | ||
layer3.d | ||
uci-defaults |