in-addr-util: add byte accessor array to union in_addr_union
authorLennart Poettering <lennart@poettering.net>
Sun, 16 Aug 2020 09:28:34 +0000 (11:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 26 Aug 2020 14:46:12 +0000 (16:46 +0200)
commitc7dfa1df8b35f71615f257f177a6d07ddb674145
tree3bd9e7a66e4eed7e53c2050b709037b9852fb89a
parentb6abc2acb4a56344db90eefa36a989e6b7ded34d
in-addr-util: add byte accessor array to union in_addr_union

It's pretty useful to be able to access the bytes generically, without
acknowledging a specific family, hence let's a third way to access an
in_addr_union.
src/basic/in-addr-util.h