summaryrefslogtreecommitdiffstats
path: root/src/multicast_device.c
diff options
context:
space:
mode:
authorGuus Sliepen <guus@tinc-vpn.org>2019-04-11 21:01:36 +0200
committerGuus Sliepen <guus@tinc-vpn.org>2019-04-11 21:01:36 +0200
commit5b931cc42dedaa72604a836d8a765e8f00656303 (patch)
tree1b038642516615a3d300c73f7e1cfdfacef032b4 /src/multicast_device.c
parent46ee6eba35641ab721cc88ef58179aa95f6285d7 (diff)
Backport tinc 1.1's str2net() function.HEADmaster
The old function could get confused by short-hand IPv6 notation (using ::) and mistake them for MAC addresses. The new code is more strict; it will correctly handle all short-hand addresses, and will return an error when an address has trailing garbage instead of ignoring it.
Diffstat (limited to 'src/multicast_device.c')
0 files changed, 0 insertions, 0 deletions