From: Dave Hart Date: Mon, 22 Nov 2010 07:03:31 +0000 (+0000) Subject: BBF to the rescue finding typos in #ifdef'd code X-Git-Tag: NTP_4_2_7P85~4^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f9f8e111c9b5eaf86cea2425a176905a900b11;p=thirdparty%2Fntp.git BBF to the rescue finding typos in #ifdef'd code bk: 4cea15c3nTTsuuI2qSmUO5ys1kAgsg --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 4144e1f86..5b7b7d86a 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -906,7 +906,7 @@ add_interface( (IN6_IS_ADDR_LINKLOCAL(PSOCK_ADDR6(addr)) || IN6_IS_ADDR_SITELOCAL(PSOCK_ADDR6(addr)))); #else - ep_linklocal = FALSE; + ep_local = FALSE; #endif /* * If we have multiple local addresses on the same network diff --git a/sntp/networking.c b/sntp/networking.c index d17874eb9..31bc5f8fd 100644 --- a/sntp/networking.c +++ b/sntp/networking.c @@ -230,7 +230,8 @@ recv_bcst_data ( } return BROADCAST_FAILED; } - if (setsockopt(rsock, IPPROTO_IPV6, IPV6_JOIN_GROUP, &mdevadr6, sizeof(mdevadr)) < 0) { + if (setsockopt(rsock, IPPROTO_IPV6, IPV6_JOIN_GROUP, + &mdevadr6, sizeof(mdevadr6)) < 0) { if (ENABLED_OPT(NORMALVERBOSE)) { buf = ss_to_str(sas); printf("sntp recv_bcst_data: Couldn't join group for %s\n", buf);