Display something descriptive when a peer hasn't been specified yet.
This commit is contained in:
parent
16d04a15ec
commit
63d0cdbd38
1 changed files with 4 additions and 0 deletions
|
@ -595,6 +595,10 @@ t_stat dmc_showpeer (FILE* st, UNIT* uptr, int32 val, void* desc)
|
||||||
{
|
{
|
||||||
fprintf(st, "peer=%s", controller->line->peer);
|
fprintf(st, "peer=%s", controller->line->peer);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fprintf(st, "peer=unspecified");
|
||||||
|
}
|
||||||
|
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue