diff options
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 42ec97e..a8b429b 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -241,17 +241,18 @@ int main(int argc, char **argv) LCD_display_extended_message (message, 0); g_free (message); - message = g_strdup_printf ("Starting comm ports... GPIB Address: %d", globals.Flash.gpib_address); - LCD_write(1,0,message); - g_free (message); - nicinfo info; + strcpy(info.ip,"-"); if (nicutils_infofordefaultroute(&info)) { message = g_strdup_printf ("TCP/IP address: %s", info.ip); LCD_write(2,0,message); g_free (message); } + message = g_strdup_printf ("GPIB addr %d, Eth addr %s", globals.Flash.gpib_address,info.ip); + LCD_write(2,0,message); + g_free (message); + /* start-up delay */ LCD_write(3,0,"Warming up, please wait... "); |