Merge commit '4a4f96d1f67441e2902a0806f1d7c4b29a072ca3'
[osmocom-bb.git] / src / shared / libosmocore / src / vty / vty.c
index 5c5a908..a5b16dc 100644 (file)
@@ -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;