summaryrefslogtreecommitdiff
path: root/osdep/ManagedRoute.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/ManagedRoute.hpp')
-rw-r--r--osdep/ManagedRoute.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/ManagedRoute.hpp b/osdep/ManagedRoute.hpp
index ca71b18b..7000e3a4 100644
--- a/osdep/ManagedRoute.hpp
+++ b/osdep/ManagedRoute.hpp
@@ -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;