IPv6: in46_addr: OSMO_ASSERT() in case of unsupported calls
commit72a38b55e38407aa6c6b1cd32f848198ceee1287
authorHarald Welte <laforge@gnumonks.org>
Wed, 9 Aug 2017 19:58:12 +0000 (9 21:58 +0200)
committerHarald Welte <laforge@gnumonks.org>
Fri, 11 Aug 2017 08:46:00 +0000 (11 10:46 +0200)
tree4bdb4d27683d907025ff49a59bfd660ce5105205
parent1ae98777d9b1ee62e6900caf4bb580d1a42bb416
IPv6: in46_addr: OSMO_ASSERT() in case of unsupported calls

There's a bit of trickery with the ip_pool and it's "lengty=8" IPv6
prefix handling, let's make sure we don't accidentially call any
support functions with addresses of wrong length.

Change-Id: I444c190bdcd18780344e1f0dad4faf3bcf9da5a5
lib/in46_addr.c