summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:06:07 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:06:07 -0500
commit4ab5e0565f847f58dba4d97a40681e687f36b08a (patch)
tree6ae07b8b3754ed310a7b823537e70803f59100a5
parentc360b1fb1daebc24a4db7278bf324b63c98059d0 (diff)
Don't show IP at startup - not ready anyway
-rw-r--r--instr-daemon.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index e110863..e71b5f2 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -5,7 +5,6 @@
#include "globals.h"
#include "bus.h"
#include "device-functions.h"
-#include "nicutils.h"
#include "monitor.h"
#include "menus.h"
#include "gpib.h"
@@ -232,10 +231,7 @@ int main(int argc, char **argv)
writeUserBlock(&globals.Flash, eprom_loc, sizeof(globals.Flash.self_cal_startups));
}
- nicinfo info;
- strcpy(info.ip,"-");
- nicutils_infofordefaultroute(&info);
- message = g_strdup_printf ("GPIB addr %d, Eth addr %s", globals.Flash.gpib_address,info.ip);
+ message = g_strdup_printf ("GPIB addr %d.", globals.Flash.gpib_address);
LCD_write(2,0,message);
g_free (message);
@@ -295,7 +291,7 @@ int main(int argc, char **argv)
g_timeout_add (100, (GSourceFunc) finish_boot, NULL);
if (globals.Flash.vxi_enabled) {
- GThread *vxithread =g_thread_create(vxithreadfunc, NULL,false, NULL);
+ GThread *vxithread =g_thread_create(vxithreadfunc, NULL, FALSE, NULL);
if(vxithread == NULL)
printf("Couldn't create vxi thread\n");
}