summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-07-04 21:46:26 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-07-04 21:46:26 +0000
commitbf951f8b844ddec9fcfabed6380b03f5bbb40444 (patch)
treec45c4e1e27c3fd5419d5b06cab48f9ce07348413 /net_dgpsip.c
parent330725e9464de9e9707dea8e6eb776649f494962 (diff)
downloadgpsd-bf951f8b844ddec9fcfabed6380b03f5bbb40444.tar.gz
change the dgnss_ prefix to netgnss_
this more accurately reflects that this is now becoming a generic network gnss interface
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index 15962dd5..9e5ab3dd 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -1,5 +1,5 @@
/* $Id$ */
-/* dgpsip.c -- gather and dispatch DGPS data from DGPSIP servers */
+/* net_dgpsip.c -- gather and dispatch DGPS data from DGPSIP servers */
#include <sys/types.h>
#ifndef S_SPLINT_S
#include <sys/socket.h>
@@ -38,7 +38,7 @@ int dgpsip_open(struct gps_context_t *context, const char *dgpsserver)
/* greeting required by some RTCM104 servers; others will ignore it */
(void)snprintf(buf,sizeof(buf), "HELO %s gpsd %s\r\nR\r\n",hn,VERSION);
if (write(context->dsock, buf, strlen(buf)) == (ssize_t)strlen(buf))
- context->dgnss_service = dgnss_dgpsip;
+ context->netgnss_service = netgnss_dgpsip;
else
gpsd_report(LOG_ERROR, "hello to DGPS server %s failed\n", dgpsserver);
} else