From 112c3ff788543ddc5330b6951d4afe28b3c9a2f1 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Tue, 11 Dec 2018 21:27:57 +0530 Subject: [PATCH] HostDev: Fix typo causing Linux build break --- server/linuxport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/linuxport.cpp b/server/linuxport.cpp index 14e39e2..17d636e 100644 --- a/server/linuxport.cpp +++ b/server/linuxport.cpp @@ -248,7 +248,7 @@ void LinuxPort::populateInterfaceInfo() quint32 gw4 = 0; UInt128 gw6 = 0; for (rtnl_route *rt = routeCache_ ? (rtnl_route*) nl_cache_get_first(routeCache_) : 0; - rt && (!gw4 || !gw6)); + rt && (!gw4 || !gw6); rt = (rtnl_route*) nl_cache_get_next(OBJ_CAST(rt))) { if (rtnl_route_get_table(rt) != RT_TABLE_MAIN) // we want only main RTT continue;