TT#116100 bin/scenario.pl: try to get subscribe info even with peer_host

Change-Id: I1f64d473d624df5336acdfd6c70d28d6e2d31b50
mr9.5.1
Victor Seva 5 years ago
parent 3b0cfa3bc1
commit b6dc5b7d28

@ -352,14 +352,14 @@ sub generate
{
# by default foreign is no
$resp->{foreign} = "no" unless defined($resp->{foreign});
if(not defined($resp->{peer_host}) and $resp->{foreign} ne "yes")
try
{
get_subs_info($data->{subscribers}, $resp);
} else {
} catch {
$resp->{devid} = $resp->{username};
$resp->{auth_username} = $resp->{username};
$resp->{alias} = [];
}
};
$resp->{password} = "" unless defined($resp->{password});
# by default responder is active
$resp->{active} = "yes" unless defined($resp->{active});

Loading…
Cancel
Save