From: Harlan Stenn Date: Fri, 30 Apr 2010 08:54:29 +0000 (+0000) Subject: [Bug 1538] update refclock_nmea.c's call to getprotobyname() X-Git-Tag: NTP_4_2_7P28~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e541035108c50a73849aa7096050d3e8e8d08c;p=thirdparty%2Fntp.git [Bug 1538] update refclock_nmea.c's call to getprotobyname() bk: 4bda9ac5z_jpeFBAlJcRpiNgRoSD4w --- diff --git a/ChangeLog b/ChangeLog index 894a93be9..eb93b075c 100644 --- 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 + * [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. diff --git a/ntpd/refclock_nmea.c b/ntpd/refclock_nmea.c index 31fe88ad0..f2bcdbf2f 100644 --- a/ntpd/refclock_nmea.c +++ b/ntpd/refclock_nmea.c @@ -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;