diff options
author | David Barr <38654497+davebarrau@users.noreply.github.com> | 2018-10-07 14:12:45 +1100 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2018-10-06 20:12:45 -0700 |
commit | c3fc64094fbed445c0d131b77fcc13e56da991e7 (patch) | |
tree | d79edcfdcd6183a9a9315dcecc67fe9d196f5feb /dhcpv6/option_domainsearchlist.go | |
parent | 074d0d2f1a02cafabbaeb618ed2efb896349e81d (diff) |
Dynamically determine loopback interface for server test (#167)
* Dynamically determine loopback interface for server test
"lo" isn't configured everywhere. In FreeBSD for example, TestServerActivateAndServe() fails as the loopback address is "lo0", not "lo".
Also, I don't believe the Zone is required for net.UDPAddr as ::1 is being used, not an fe80:: address.
* Add error handling to getLoopbackInterface()
- My editor also snuck in some space indentation
Diffstat (limited to 'dhcpv6/option_domainsearchlist.go')
0 files changed, 0 insertions, 0 deletions