diff options
author | Nick Hainke <vincent@systemli.org> | 2021-01-13 16:06:03 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-01-15 17:40:27 +0100 |
commit | 5beea4c3fd6b671e102430ba934442f69b1332b0 (patch) | |
tree | 5a51426ff6d731d5fa63e33c8a3266960ceb86de /package/network/utils/resolveip | |
parent | 05707e6460106c931ece26df7883cd214560d14c (diff) | |
download | upstream-5beea4c3fd6b671e102430ba934442f69b1332b0.tar.gz upstream-5beea4c3fd6b671e102430ba934442f69b1332b0.tar.bz2 upstream-5beea4c3fd6b671e102430ba934442f69b1332b0.zip |
owipcalc: use v6 in cidr_parse6 function
The cidr_parse6 function parses a string to an ipv6-address.
The cidr struct contains a union called buf for the ipv4 and ipv6
address. Since it is a char pointer and the struct is initialized with
the maximum size (so ipv6 string) it does not make any difference.
However, we should access the buffer using the v6 name, since it could
be confusing otherwise.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'package/network/utils/resolveip')
0 files changed, 0 insertions, 0 deletions