Default route population works on Mac!

This commit is contained in:
Adam Ierymenko 2016-06-16 18:23:33 -07:00
parent eb4a78bcc3
commit 1bf1c38b30
4 changed files with 18 additions and 4 deletions

View file

@ -57,7 +57,7 @@ public:
*/
inline bool set(const InetAddress &target,const InetAddress &via,const char *device)
{
if ((!_via)&&(!_device[0]))
if ((!via)&&(!device[0]))
return false;
this->remove();
_target = target;