summaryrefslogtreecommitdiff
path: root/libgpsmm.cpp
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-01-13 22:46:47 +0000
committerEric S. Raymond <esr@thyrsus.com>2010-01-13 22:46:47 +0000
commit148ad52be8d10bebd710f782074b5304e91b2cf4 (patch)
tree045bdad29f1b7646731510278a69b7f501bddb2f /libgpsmm.cpp
parent338d2ef1510a66b5cb178ed9ab4c0be874d9cff3 (diff)
downloadgpsd-148ad52be8d10bebd710f782074b5304e91b2cf4.tar.gz
Small IPv6 cleanups. All regression tests pass.
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r--libgpsmm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp
index e04a263d..f96d7293 100644
--- a/libgpsmm.cpp
+++ b/libgpsmm.cpp
@@ -14,7 +14,7 @@
gpsmm::gpsmm() : gps_data(0) { gps_data = NULL; }
struct gps_data_t* gpsmm::open(void) {
- return open("127.0.0.1",DEFAULT_GPSD_PORT);
+ return open("localhost",DEFAULT_GPSD_PORT);
}
struct gps_data_t* gpsmm::open(const char *host, const char *port) {