formatting and typo fix

This commit is contained in:
Jeff Becker 2020-08-10 14:45:19 -04:00
parent 9e24a5bfca
commit 49eb42d63f
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 2 additions and 2 deletions

View File

@ -391,8 +391,8 @@ GetGatewaysNotOnInterface(std::string ifname)
#undef FREE
return gateways;
#elif __APPLE__
const auto maybe = llarp::GetIfAddr(ifname);
if(not maybe.has_value())
const auto maybe = llarp::GetIFAddr(ifname);
if (not maybe.has_value())
return gateways;
const auto interface = maybe->toString();
// mac os is so godawful man