mirror of
https://github.com/ntop/n2n.git
synced 2026-10-19 16:16:12 +00:00
Merge pull request #284 from disconnect3d/patch-1
edge.c: fix incorrect bad gateway check
This commit is contained in:
+1
-1
@@ -488,7 +488,7 @@ static int setOption(int optkey, char *optargument, n2n_priv_config_t *ec, n2n_e
|
||||
break;
|
||||
}
|
||||
|
||||
if(route.net_addr == INADDR_NONE) {
|
||||
if(route.gateway == INADDR_NONE) {
|
||||
traceEvent(TRACE_WARNING, "Bad gateway '%s' in '%s'", gateway, optargument);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user