diff options
Diffstat (limited to 'src/vty/vty.c')
-rw-r--r-- | src/vty/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c index 5c5a908d..a5b16dce 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -306,7 +306,7 @@ static void vty_prompt(struct vty *vty) const char *hostname; if (vty->type == VTY_TERM) { - hostname = host.name; + hostname = host.app_info->name; if (!hostname) { uname(&names); hostname = names.nodename; |