<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Eric S. Raymond pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/d4cf864894037043831734fa7d9f58482bfe9049">d4cf8648</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2016-02-10T15:14:33-05:00</i>
</div>
<pre class='commit-message'>More boolification.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
ntpd/ntp_io.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/d4cf864894037043831734fa7d9f58482bfe9049#diff-0'>
<strong>
ntpd/ntp_io.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_io.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_io.c
</span><span style="color: #aaaaaa">@@ -275,7 +275,7 @@ static bool addr_samesubnet (const sockaddr_u *, const sockaddr_u *,
</span> static int create_sockets (u_short);
static SOCKET open_socket (sockaddr_u *, int, int, endpt *);
static char * fdbits (int, fd_set *);
<span style="color: #000000;background-color: #ffdddd">-static void set_reuseaddr (int);
</span><span style="color: #000000;background-color: #ddffdd">+static void set_reuseaddr (bool);
</span> static bool socket_broadcast_enable (struct interface *, SOCKET, sockaddr_u *);
#ifdef OS_MISSES_SPECIFIC_ROUTE_UPDATES
static bool socket_broadcast_disable (struct interface *, sockaddr_u *);
<span style="color: #aaaaaa">@@ -2080,7 +2080,7 @@ create_sockets(
</span> * Now that we have opened all the sockets, turn off the reuse
* flag for security.
*/
<span style="color: #000000;background-color: #ffdddd">- set_reuseaddr(0);
</span><span style="color: #000000;background-color: #ddffdd">+ set_reuseaddr(false);
</span>
DPRINTF(2, ("create_sockets: Total interfaces = %d\n", ninterfaces));
<span style="color: #aaaaaa">@@ -2235,7 +2235,7 @@ set_excladdruse(
</span> */
static void
set_reuseaddr(
<span style="color: #000000;background-color: #ffdddd">- int flag
</span><span style="color: #000000;background-color: #ddffdd">+ bool flag
</span> )
{
#ifndef SO_EXCLUSIVEADDRUSE
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/d4cf864894037043831734fa7d9f58482bfe9049">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/d4cf864894037043831734fa7d9f58482bfe9049"}}</script>
</p>
</div>
</body>
</html>