forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ntp: partially sync with upstream
Taken from: HardenedBSD
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: include/ntp_config.h | ||
=================================================================== | ||
--- include/ntp_config.h (revision 359675) | ||
+++ include/ntp_config.h (revision 359676) | ||
@@ -280,7 +280,7 @@ | ||
* Poll Skew List | ||
*/ | ||
|
||
-psl_item psl[17-3+1]; /* values for polls 3-17 */ | ||
+extern psl_item psl[17-3+1]; /* values for polls 3-17 */ | ||
/* To simplify the runtime code we */ | ||
/* don't want to have to special-case */ | ||
/* dealing with a default */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: ntpd/ntp_config.c | ||
=================================================================== | ||
--- ntpd/ntp_config.c (revision 359675) | ||
+++ ntpd/ntp_config.c (revision 359676) | ||
@@ -202,6 +202,8 @@ | ||
|
||
extern char *stats_drift_file; /* name of the driftfile */ | ||
|
||
+psl_item psl[17-3+1]; | ||
+ | ||
#ifdef BC_LIST_FRAMEWORK_NOT_YET_USED | ||
/* | ||
* backwards compatibility flags |