diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-20 03:24:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-20 03:24:51 +0100 |
commit | c009d35f0060905842c779fdf57535e0127cb238 (patch) | |
tree | 8c325c834b829fd269d3b4f24e9b61c5398e933a | |
parent | 76ad7481b1697b9eb99286259395050f3169e7e8 (diff) | |
download | busybox-w32-c009d35f0060905842c779fdf57535e0127cb238.tar.gz busybox-w32-c009d35f0060905842c779fdf57535e0127cb238.tar.bz2 busybox-w32-c009d35f0060905842c779fdf57535e0127cb238.zip |
ntpd: remove now unnecessary check for IP_PKTINFO definition
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/ntpd.c | 3 | ||||
-rw-r--r-- | networking/ntpd_simple.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c index f1f99bb2b..03fe448ca 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -51,9 +51,6 @@ | |||
51 | #ifndef IPTOS_LOWDELAY | 51 | #ifndef IPTOS_LOWDELAY |
52 | # define IPTOS_LOWDELAY 0x10 | 52 | # define IPTOS_LOWDELAY 0x10 |
53 | #endif | 53 | #endif |
54 | #ifndef IP_PKTINFO | ||
55 | # error "Sorry, your kernel has to support IP_PKTINFO" | ||
56 | #endif | ||
57 | 54 | ||
58 | 55 | ||
59 | /* Verbosity control (max level of -dddd options accepted). | 56 | /* Verbosity control (max level of -dddd options accepted). |
diff --git a/networking/ntpd_simple.c b/networking/ntpd_simple.c index 3e7fc4719..22e899cb6 100644 --- a/networking/ntpd_simple.c +++ b/networking/ntpd_simple.c | |||
@@ -11,9 +11,6 @@ | |||
11 | #ifndef IPTOS_LOWDELAY | 11 | #ifndef IPTOS_LOWDELAY |
12 | # define IPTOS_LOWDELAY 0x10 | 12 | # define IPTOS_LOWDELAY 0x10 |
13 | #endif | 13 | #endif |
14 | #ifndef IP_PKTINFO | ||
15 | # error "Sorry, your kernel has to support IP_PKTINFO" | ||
16 | #endif | ||
17 | 14 | ||
18 | 15 | ||
19 | /* Sync to peers every N secs */ | 16 | /* Sync to peers every N secs */ |