]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1538] update refclock_nmea.c's call to getprotobyname()
authorHarlan Stenn <stenn@ntp.org>
Fri, 30 Apr 2010 08:54:29 +0000 (08:54 +0000)
committerHarlan Stenn <stenn@ntp.org>
Fri, 30 Apr 2010 08:54:29 +0000 (08:54 +0000)
bk: 4bda9ac5z_jpeFBAlJcRpiNgRoSD4w

ChangeLog
ntpd/refclock_nmea.c

index 894a93be9a54503578e28586053e85c7cdc137dd..eb93b075c0c0765c1941b684ee6c56bb4f4616f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
+---
+
+* [Bug 1538] update refclock_nmea.c's call to getprotobyname().
+
+---
 (4.2.6p2-RC2) 2010/04/27 Released by Harlan Stenn <stenn@ntp.org>
+
 * [Bug 1465] Make sure time from TS2100 is not invalid (backport from
   ntp-dev).
 * [Bug 1528] Fix EDITLINE_LIBS link order for ntpq and ntpdc.
index 31fe88ad03bc79f05b7fcadb933202ee1e9fa435..f2bcdbf2f107d76ad20c37ea0e110b26b9e48e4f 100644 (file)
@@ -257,7 +257,7 @@ nmea_start(
 
                if ((he = gethostbyname(nmea_host)) == NULL)
                        return(0);
-               if ((p = getprotobyname("ip")) == NULL)
+               if ((p = getprotobyname("tcp")) == NULL)
                        return(0);
                memset(&so_addr, 0, sizeof(so_addr));
                so_addr.sin_family = AF_INET;