gluon/package/gluon-mesh-babel
Matthias Schiffer 72c71d35ac
gluon-mesh-babel: clean up link-local address handling
- Rename obtain_if_addr() to get_linklocal_address()
- Pass buffer of size INET6_ADDRSTRLEN instead of the oversized NI_MAXHOST
- Check if an address is link-local before converting to a string
- Replace an incorrect use of strncmp() with strcmp()
- Return status to caller
- Streamline control flow

While we're at it, the function handle_neighbour(), which is one of the
callers of get_linklocal_address() is slightly cleaned up as well.
2020-06-01 14:50:40 +02:00
..
files gluon-mesh-babel: exit with error if unable to connect to babeld 2018-11-26 01:20:31 +01:00
luasrc/lib/gluon gluon-mesh-babel: use babel 1.9.0 feature to set pref-src on installed routes 2019-11-24 12:31:04 +01:00
src gluon-mesh-babel: clean up link-local address handling 2020-06-01 14:50:40 +02:00
check_site.lua gluon-mesh-babel: add new package 2018-08-02 00:58:51 +02:00
Makefile gluon-mesh-babel: depend on gluon-mmfd 2019-11-24 12:31:04 +01:00