stroke: Fix error message if parsing leftsourceip fails
This commit is contained in:
1 parent
6810388064
commit
261fd9d33b
1 file changed
+1
-1
@@ -880,7 +880,7 @@ static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this,
|
||||
else
|
||||
{
|
||||
vip = host_create_from_string(token, 0);
|
||||
if (vip)
|
||||
if (!vip)
|
||||
{
|
||||
DBG1(DBG_CFG, "ignored invalid subnet token: %s", token);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user